MySQL NDB Cluster 8.1 Manual
MySQL NDB Cluster 8.0 Manual
NDB Cluster Internals Manual
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 Column {public String name ;
public String allowsNull ;
public 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.
Table 4.77 allowsNull
Parameter | Description |
---|---|
return | whether the column allows null values to be inserted |
Default value for this column.