@Target(TYPE)
@Retention(RUNTIME)
public @interface PersistenceCapable
Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
cacheable |
Whether this class is cacheable in a Level2 cache.
|
java.lang.String |
catalog |
Catalog to use for persisting this class or interface.
|
java.lang.String |
detachable |
Whether this class or interface is detachable.
|
java.lang.String |
embeddedOnly |
Whether objects of this class or interface can only be embedded.
|
Extension[] |
extensions |
Any vendor extensions.
|
IdentityType |
identityType |
Type of identity for this class or interface.
|
Persistent[] |
members |
Member declarations.
|
java.lang.Class |
objectIdClass |
Primary key class when using application identity and using own PK.
|
java.lang.String |
requiresExtent |
Whether this class or interface manages an extent.
|
java.lang.String |
schema |
Schema to use for persisting this class or interface.
|
java.lang.String |
table |
Table to use for persisting this class or interface.
|
Persistent[] members
java.lang.String requiresExtent
java.lang.String embeddedOnly
IdentityType identityType
java.lang.Class objectIdClass
java.lang.String cacheable
Extension[] extensions