ObjectDB ObjectDB

Unique.table - JDO annotation element

Annotation Element
javax.jdo.annotations.Unique
String table

Table for the unique constraint. This is needed iff annotating a type where this unique constraint is not for the primary table for the persistent class or interface.
Returns:
the table on which the unique constraint is defined
Default value:
""
Since:
JDO 2.1