@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Persistent
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
cacheable
Whether this field/property is cacheable in a Level2 cache.
|
java.lang.String |
column
Column name where the values are stored for this member.
|
Column[] |
columns
Column definition(s) for this member.
|
java.lang.String |
customValueStrategy
Custom value strategy to use to generate the value for this field
or property (if any).
|
java.lang.String |
defaultFetchGroup
Whether this member is in the default fetch group.
|
java.lang.String |
dependent
Whether related object(s) of this member are dependent
and so deleted when this object is deleted.
|
java.lang.String |
dependentElement
Whether the elements of this member are dependent.
|
java.lang.String |
dependentKey
Whether the keys of this member are dependent.
|
java.lang.String |
dependentValue
Whether the values of this member are dependent.
|
java.lang.String |
embedded
Whether this member is embedded.
|
java.lang.String |
embeddedElement
Whether the elements of this member are embedded.
|
java.lang.String |
embeddedKey
Whether the keys of this member are embedded.
|
java.lang.String |
embeddedValue
Whether the values of this member are embedded.
|
Extension[] |
extensions
Vendor extensions for this member.
|
java.lang.String |
loadFetchGroup
Name of the fetch-group to use when this member is loaded
due to being referenced when not already loaded.
|
java.lang.String |
mappedBy
Name of the related member in the other class
where this value is mapped (bidirectional relationship).
|
java.lang.String |
name
Name of the member when this is embedded in another object.
|
java.lang.String |
nullIndicatorColumn
Null indicator column for this member.
|
NullValue |
nullValue
Behavior when this member contains a null value.
|
PersistenceModifier |
persistenceModifier
Modifier for this field.
|
java.lang.String |
primaryKey
Whether this member is part of the primary key for application
identity.
|
int |
recursionDepth
Recursion depth for this member.
|
java.lang.String |
sequence
Name of the sequence to use with particular value strategies.
|
java.lang.String |
serialized
Whether this member is serialized into a single column.
|
java.lang.String |
serializedElement
Whether the elements of this member are serialized.
|
java.lang.String |
serializedKey
Whether the keys of this member are serialized.
|
java.lang.String |
serializedValue
Whether the values of this member are serialized.
|
java.lang.String |
table
Table to use for persisting this member.
|
java.lang.Class[] |
types
Types of the member.
|
IdGeneratorStrategy |
valueStrategy
Value strategy to use to generate the value for this field
or property (if any).
|
public abstract PersistenceModifier persistenceModifier
public abstract java.lang.String table
public abstract java.lang.String defaultFetchGroup
public abstract NullValue nullValue
public abstract java.lang.String embedded
public abstract java.lang.String embeddedElement
public abstract java.lang.String embeddedKey
public abstract java.lang.String embeddedValue
public abstract java.lang.String serialized
public abstract java.lang.String serializedElement
public abstract java.lang.String serializedKey
public abstract java.lang.String serializedValue
public abstract java.lang.String dependent
public abstract java.lang.String dependentElement
public abstract java.lang.String dependentKey
public abstract java.lang.String dependentValue
public abstract java.lang.String primaryKey
public abstract IdGeneratorStrategy valueStrategy
public abstract java.lang.String customValueStrategy
public abstract java.lang.String sequence
public abstract java.lang.String loadFetchGroup
public abstract java.lang.Class[] types
public abstract java.lang.String mappedBy
public abstract Column[] columns
public abstract java.lang.String column
public abstract java.lang.String nullIndicatorColumn
public abstract java.lang.String name
public abstract int recursionDepth
public abstract java.lang.String cacheable
public abstract Extension[] extensions