Home » JDO » Annotations » Field Modifiers » PrimaryKey » PrimaryKey.columns - JDO annotation element

PrimaryKey.columns - JDO annotation element

Annotation Element
javax.jdo.annotations.PrimaryKey
Column[] columns

The column(s) for the primary key
Returns:
the column(s) for the primary key
Default value:
{}
Since:
JDO 2.1

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.