Package javax.jdo.annotations
Annotation Type Column
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface ColumnAnnotation for a column in the database. Corresponds to the xml element "column".- Since:
- 2.1
- Version:
- 2.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringallowsNullWhether the column allows null values to be inserted.java.lang.StringdefaultValueDefault value for this column.Extension[]extensionsVendor extensions.java.lang.StringinsertValueValue to be inserted when this is an "unmapped" columnjava.lang.StringjdbcTypeJDBC Type for this column.intlengthMaximum length of data stored in this column.java.lang.StringnameName of the column.intscaleScale for the column when handling floating point values.java.lang.StringsqlTypeSQL Type for this column.java.lang.StringtargetTarget column for this column in the other table when part of a foreign key relation.java.lang.StringtargetMemberTarget member in the other class or interface for this column when part of a bidirectional relation.
-
-
-
-
extensions
Extension[] extensions
Vendor extensions.- Returns:
- the vendor extensions
- Default:
- {}
-
-