JDO Annotation

PersistenceCapable

Target: ElementType.TYPE
Implemented Interfaces:
Annotation

Annotation for whether the class or interface is persistence-capable.
Since:
JDO 2.1

Public Annotation Attributes

String cacheable default "true"
Whether this class is cacheable in a Level2 cache.
Since:
JDO 2.2
String catalog default ""
Catalog to use for persisting this class or interface.
Since:
JDO 2.1
String detachable default ""
Whether this class or interface is detachable.
Since:
JDO 2.1
String embeddedOnly default ""
Whether objects of this class or interface can only be embedded.
Since:
JDO 2.1
Extension[] extensions default {}
Any vendor extensions.
Since:
JDO 2.1
IdentityType identityType default IdentityType.UNSPECIFIED
Type of identity for this class or interface.
Since:
JDO 2.1
Persistent[] members default {}
Member declarations.
Annotations for persistent members of this class or interface can be specifed either here or on each member. Annotations for inherited members can only be specified here.
Since:
JDO 2.1
Class objectIdClass default void.class
Primary key class when using application identity and using own PK.
Since:
JDO 2.1
String requiresExtent default ""
Whether this class or interface manages an extent.
Since:
JDO 2.1
String schema default ""
Schema to use for persisting this class or interface.
Since:
JDO 2.1
String table default ""
Table to use for persisting this class or interface.
Since:
JDO 2.1