Annotation for a column in the database.
@Target(value={java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) public @interface com.mysql.clusterj.annotation.Column {public java.lang.String name ;
public java.lang.String allowsNull ;
public java.lang.String defaultValue ;
}
Whether the column allows null values to be inserted. This overrides the database definition and requires that the application provide non-null values for the database column.
Parameters | |
return |
whether the column allows null values to be inserted |
Default value for this column.
Parameters | |
return |
the default value for this column |