Package net.java.ao.schema
Annotation Type StringLength
Explicitly specifies the maximum length, in characters, of the underlying
database column corresponding to the method in question. This is valid for
accessors of type String, and is ignored for all other types. The value can
be a positive integer or UNLIMITED
; an unlimited-length string is
stored as the corresponding "long string" database type (TEXT, CLOB, etc.
depending on the database provider).
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionint
Specifies the maximum length of the database column in characters. -
Field Summary
Fields
-
Field Details
-
MAX_LENGTH
static final int MAX_LENGTH- See Also:
-
UNLIMITED
static final int UNLIMITED- See Also:
-
-
Element Details
-
value
int valueSpecifies the maximum length of the database column in characters. This can be a positive integer orUNLIMITED
.
-