Package javax.jdo.annotations
This package contains the JDO annotations for use as an alternative to XML metadata.
-
Enum Summary Enum Description DiscriminatorStrategy Enumeration of the discriminator strategy values.ForeignKeyAction Enumeration of the foreign-key delete/update action values.IdentityType Enumeration of the identity type values.IdGeneratorStrategy Enumeration of the id generator strategy values.InheritanceStrategy Enumeration of the inheritance strategy values.NullValue Enumeration of the "null-value" behavior values.PersistenceModifier Enumeration of the persistence-modifier values for a field or property.SequenceStrategy Enumeration of the sequence strategy values.VersionStrategy Enumeration of the version strategy values. -
Annotation Types Summary Annotation Type Description Cacheable Annotation to specify that this class/field/property is cacheable in a Level 2 cache.Column Annotation for a column in the database.Columns Annotation for a group of columns.Convert Specifies that a given type should be converted before being stored to, and after being retrieved from the datastore using the givenAttributeConverter
.DatastoreIdentity Annotation for the datastore identity of the class.Discriminator Annotation for the discriminator of the class.Element Annotation for the element of a collection/array relation.Embedded Annotation to define that the object is embedded into the table of the owning object.EmbeddedOnly Annotation for whether the class is only for persisting embedded into another object.Extension Annotation for a JDO vendor extension.Extensions Annotation for a group of extensionsFetchGroup Annotation for the fetch group of a class.FetchGroups Annotation for a group of fetch-group objectsFetchPlan Annotation for the fetch plan of a persistence manager, query, or extent.FetchPlans Annotation for a group of FetchPlan objectsForeignKey Annotation for a database foreign-key.ForeignKeys Annotation for a group of foreign-key constraints.Index Annotation for a database index.Indices Annotation for a group of index constraints.Inheritance Annotation for the inheritance of the class.Join Annotation for the join of a relation.Joins Annotation for a group of joins.Key Annotation for the key of a map relation.NotPersistent Annotation to specify that the member is not persistent.Order Annotation for the ordering component of an ordered container member, such as Java Collections Framework Array and List types and Java native array types.PersistenceAware Annotation to specify that the class is persistence-aware.PersistenceCapable Annotation for whether the class or interface is persistence-capable.Persistent Annotation for defining the persistence of a member.PostAttach Annotation for a method on a persistence capable object to be used just asjavax.jdo.listener.AttachCallback#jdoPostAttach()
.PostDetach Annotation for a method on a persistence capable object to be used just asjavax.jdo.listener.AttachCallback#jdoPostDetach()
.PostLoad Annotation for a method on a persistence capable object to be used just asLoadCallback.jdoPostLoad()
.PreAttach Annotation for a method on a persistence capable object to be used just asAttachCallback.jdoPreAttach()
.PreClear Annotation for a method on a persistence capable object to be used just asClearCallback.jdoPreClear()
.PreDelete Annotation for a method on a persistence capable object to be used just asDeleteCallback.jdoPreDelete()
.PreDetach Annotation for a method on a persistence capable object to be used just asDetachCallback.jdoPreDetach()
.PreStore Annotation for a method on a persistence capable object to be used just asStoreCallback.jdoPreStore()
.PrimaryKey Annotation on a member to define it as a primary key member of a class or persistent interface using application identity.Queries Annotation for a group of named queries.Query Annotation for a named query.Sequence Annotation for a datastore sequence.Serialized Annotation on a member (field or property) to indicate that the member is stored serialized.Transactional Annotation to indicate that a member (field or property) is transactional but not persistent.Unique Annotation for a database unique constraint.Uniques Annotation for a group of unique constraints.Value Annotation for the value of a map relation.Version Annotation for the versioning of the class.