MySQL NDB Cluster 8.1 Manual
MySQL NDB Cluster 8.0 Manual
NDB Cluster Internals Manual
Annotation on a member to define it as a primary key member of a class or persistent interface.
@Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) public @interface PrimaryKey {public String name ;
public String column ;
public Column[] columns ;
}
Name of the column to use for the primary key
The column(s) for the primary key