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