javax.jdo.annotations.PersistenceCapable - JDO annotation
javax.jdo.annotations
Annotation PersistenceCapable
- Target:
- Classes
Annotation for whether the class or interface is persistence-capable.
- Since:
- JDO 2.1
String cacheable
Whether this class is cacheable in a Level2 cache.
- Default value:
- "true"
- Since:
- JDO 2.2
String catalog
Catalog to use for persisting this class or interface.
- Default value:
- ""
- Since:
- JDO 2.1
String detachable
Whether this class or interface is detachable.
- Default value:
- ""
- Since:
- JDO 2.1
String embeddedOnly
Whether objects of this class or interface can only be embedded.
- Default value:
- ""
- Since:
- JDO 2.1
Any vendor extensions.
- Default value:
- {}
- Since:
- JDO 2.1
Type of identity for this class or interface.
- Default value:
- javax.jdo.annotations.IdentityType.UNSPECIFIED
- Since:
- JDO 2.1
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.
- Returns:
- member declarations
- Default value:
- {}
- Since:
- JDO 2.1
Class objectIdClass
Primary key class when using application identity and using own PK.
- Default value:
- void.class
- Since:
- JDO 2.1
String requiresExtent
Whether this class or interface manages an extent.
- Default value:
- ""
- Since:
- JDO 2.1
String schema
Schema to use for persisting this class or interface.
- Default value:
- ""
- Since:
- JDO 2.1
String table
Table to use for persisting this class or interface.
- Default value:
- ""
- Since:
- JDO 2.1