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 com.mysql.clusterj.annotation.PrimaryKey {public java.lang.String name ;
public java.lang.String column ;
public com.mysql.clusterj.annotation.Column[] columns ;
}
Name of the column to use for the primary key
Parameters | |
return |
the name of the column to use for the primary key |
The column(s) for the primary key
Parameters | |
return |
the column(s) for the primary key |