|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface 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 | |
---|---|
int |
value
Specifies the maximum length of the database column in characters. |
Element Detail |
---|
public abstract int value
UNLIMITED
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |