@Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,TYPE}) @Documented public @interface JFieldType
FieldType
s
for a Permazen
's underlying Database
.
These classes will be automatically instantiated and registered with the
associated
FieldTypeRegistry
.
Annotated classes must extend FieldType
and have a zero-parameter constructor.
Note that once a certain encoding has been used for a given type name in a database, the encoding should not
be changed without creating a new type (and type name), or changing the
encoding signature.
Otherwise, InconsistentDatabaseException
s can result when the new type unexpectedly
encounters the old encoding or vice-versa.
Meta-Annotations
This annotation may be configured indirectly as a Spring
meta-annotation
when spring-core
is on the classpath.
Copyright © 2022. All rights reserved.