|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Column
Annotation for a column in the database. Corresponds to the xml element "column".
Optional Element Summary | |
---|---|
java.lang.String |
allowsNull
Whether the column allows null values to be inserted. |
java.lang.String |
defaultValue
Default value for this column. |
Extension[] |
extensions
Vendor extensions. |
java.lang.String |
insertValue
Value to be inserted when this is an "unmapped" column |
java.lang.String |
jdbcType
JDBC Type for this column. |
int |
length
Maximum length of data stored in this column. |
java.lang.String |
name
Name of the column. |
int |
scale
Scale for the column when handling floating point values. |
java.lang.String |
sqlType
SQL Type for this column. |
java.lang.String |
target
Target column for this column in the other table when part of a foreign key relation. |
java.lang.String |
targetMember
Target member in the other class or interface for this column when part of a bidirectional relation. |
public abstract java.lang.String name
public abstract java.lang.String target
public abstract java.lang.String targetMember
public abstract java.lang.String jdbcType
public abstract java.lang.String sqlType
public abstract int length
public abstract int scale
public abstract java.lang.String allowsNull
public abstract java.lang.String defaultValue
public abstract java.lang.String insertValue
public abstract Extension[] extensions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |