Annotation Type PersistenceCapable
Annotation for whether the class or interface is persistence-capable.
- Since:
- 2.1
- Version:
- 2.1
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionWhether this class is cacheable in a Level2 cache.Catalog to use for persisting this class or interface.Whether this class or interface is detachable.Whether objects of this class or interface can only be embedded.Any vendor extensions.Type of identity for this class or interface.Member declarations.Primary key class when using application identity and using own PK.Whether this class or interface manages an extent.Schema to use for persisting this class or interface.Table to use for persisting this class or interface.
-
Element Details
-
members
Persistent[] membersMember 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:
{}
-
table
-
catalog
-
schema
-
requiresExtent
-
embeddedOnly
-
detachable
-
identityType
-
objectIdClass
Class objectIdClassPrimary key class when using application identity and using own PK.- Default:
void.class
-
cacheable
-
extensions
-