JDO Annotation Attribute
in javax.jdo.annotations.Persistent

String primaryKey default ""


Whether this member is part of the primary key for application identity. This is equivalent to specifying @PrimaryKey as a separate annotation on the member.
Since:
JDO 2.1