Package org.hibernate.annotations
Annotation Type Array
-
@Incubating @Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface Array
Specifies the maximum length of a SQL array type mapped by the annotated attribute.For example:
@Array(length=100)
// the maximum length of the SQL array@Column(length=64)
// the maximum length of the strings in the array String[] strings;
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description int
length
The maximum length of the array.
-