Package org.hibernate.annotations

Enum Summary
CacheConcurrencyStrategy Cache concurrency strategy
CacheModeType Enumeration for the different interaction modes between the session and the Level 2 Cache.
CascadeType Cascade types (can override default EJB3 cascades
FetchMode Fetch options on associations
FlushModeType Enumeration extending javax.persistence flush modes.
GenerationTime When should the generation occurs
LazyCollectionOption Lazy options available for a collection
LazyToOneOption Lazy options available for a ToOne association
NotFoundAction Actoin to use when an element is not found in DB while beeing expected
OnDeleteAction Possible actions on deletes
OptimisticLockType Optimistic locking strategy VERSION is the default and recommanded one
PolymorphismType Type of avaliable polymorphism for a particular entity
SortType Sort strategies
 

Annotation Types Summary
AccessType Property Access type
BatchSize Batch size for SQL loading
Cache Add caching strategy to a root entity or a collection
Cascade Apply a cascade strategy on an association
Check Arbitrary SQL check constraints which can be defined at the class, property or collection level
CollectionOfElements Annotation used to mark a collection as a collection of elements or a collection of embedded objects
Columns Support an array of columns.
DiscriminatorFormula Discriminator formula To be placed at the root entity.
Entity Extends Entity with Hibernate features
Fetch Define the fetching strategy used for the given association
Filter Add filters to an entity or a collection
FilterDef Filter definition
FilterDefs Array of filter definitions
Filters Add multiple filters to an entity or a collection
Formula Formula.
Generated The annotated property is generated by the database
GenericGenerator Generator annotation describing any kind of Hibernate generator in a detyped manner
Index Define a DB index
IndexColumn Describe an index column of a List
LazyCollection Define the lazy status of a collection
LazyToOne Define the lazy status of a ToOne association (ie OneToOne or ManyToOne)
MapKey Define the map key columns as an explicit column holding the map key This is completly different from MapKey which use an existing column This annotation and MapKey are mutually exclusive
MapKeyManyToMany Define the map key columns as an explicit column holding the map key This is completly different from MapKey which use an existing column This annotation and MapKey are mutually exclusive
NamedNativeQueries Extends NamedNativeQueries to hold hibernate NamedNativeQuery objects
NamedNativeQuery Extends NamedNativeQuery with Hibernate features
NamedQueries Extends NamedQueries to hold hibernate NamedQuery objects
NamedQuery Extends NamedQuery with Hibernate features
NotFound Action to do when an element is not found on a association whiel beeing expected
OnDelete Strategy to use on collections, arrays and on joined subclasses delete OnDelete of secondary tables currently not supported.
OrderBy Order a collection using SQL ordering (not HQL ordering)
ParamDef A parameter definition
Parameter Parameter (basically key/value pattern)
Parent Reference the property as a pointer back to the owner (generally the owning entity)
Proxy Lazy and proxy configuration of a particular class
Sort Collection sort (Java level sorting)
Table Complementary information to a table either primary or secondary
Tables Plural of Table
Type hibernate type
TypeDef Type definition
TypeDefs Type definition array
Where Where clause to add to the element (Class or Collection)