Uses of Package
org.hibernate.annotations
-
Packages that use org.hibernate.annotations Package Description org.hibernate.annotations Package containing all Hibernate's specific annotations.org.hibernate.boot.internal org.hibernate.boot.jaxb.mapping org.hibernate.boot.jaxb.mapping.marshall org.hibernate.boot.model.process.internal org.hibernate.boot.spi org.hibernate.cfg org.hibernate.cfg.annotations org.hibernate.id.uuid org.hibernate.mapping org.hibernate.metamodel.mapping.internal org.hibernate.sql.results.graph.entity.internal org.hibernate.testing.orm.domain.animal Standard model for Hibernate's legacy Animal model used in HQL testingorg.hibernate.testing.orm.domain.gambit org.hibernate.testing.orm.domain.retail org.hibernate.tuple -
Classes in org.hibernate.annotations used by org.hibernate.annotations Class Description AnyDiscriminatorValue Specifies the mapping for a single any-valued discriminator value to the corresponding entityAttributeBinderType Associates a user-defined annotation with anAttributeBinder
, allowing the annotation to drive some custom model binding.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 JPA cascades).Check Specifies acheck
constraint to be included in the generated DDL.CollectionTypeRegistration Allows to register aUserCollectionType
to use as the default for the specified classification of collection.ColumnDefault Specifies that a column has adefault
value specified in DDL.ColumnTransformer Custom SQL expression used to read the value from and write a value to a column.CompositeTypeRegistration Registers a custom composite user type implementation to be used for all references to a particularEmbeddable
.ConverterRegistration Registers anAttributeConverter
.CurrentTimestamp Specifies that the databasecurrent_timestamp
function is used to generate values of the annotated attribute, based onCurrentTimestamp.timing()
.DialectOverride.Check Specializes aCheck
in a certain dialect.DialectOverride.ColumnDefault Specializes aColumnDefault
in a certain dialect.DialectOverride.DiscriminatorFormula Specializes aDiscriminatorFormula
in a certain dialect.DialectOverride.FilterDefs SpecializesFilterDefs
in a certain dialect.DialectOverride.Filters SpecializesFilters
in a certain dialect.DialectOverride.Formula Specializes aFormula
in a certain dialect.DialectOverride.GeneratedColumn Specializes aGeneratedColumn
in a certain dialect.DialectOverride.JoinFormula Specializes aJoinFormula
in a certain dialect.DialectOverride.OrderBy Specializes anOrderBy
in a certain dialect.DialectOverride.OverridesAnnotation Marks an annotation type as a dialect-specific override for some other annotation type.DialectOverride.Version Identifies a database version.DialectOverride.Where Specializes aWhere
in a certain dialect.DiscriminatorFormula Specifies an expression written in native SQL as the discriminator for an entity inheritance hierarchy.EmbeddableInstantiatorRegistration Registers a custom instantiator implementation to be used for all references to a particularEmbeddable
.FetchMode How the association should be fetched.FetchProfile Define the fetching strategy profile.FetchProfile.FetchOverride Descriptor for a particular association override.Filter Add filters to an entity or a target entity of a collection.FilterDef Filter definition.FilterDefs Array of filter definitions.FilterJoinTable Add filters to a join table collection.Filters Add multiple@Filters
.FlushModeType Enumeration extendingJPA flush modes
with flush modes specific to Hibernate, and a "null" flush mode,FlushModeType.PERSISTENCE_CONTEXT
for use as a default annotation value.ForeignKey Deprecated, for removal: This API element is subject to removal in a future version.use the JPA 2.1ForeignKey
annotationFormula Specifies an expression written in native SQL that is used to read the value of an attribute instead of storing the value in aColumn
.GeneratedColumn Specifies that a column is defined using a DDLgenerated always as
clause or equivalent, and that Hibernate should fetch the generated value from the database after each SQLINSERT
orUPDATE
.GenerationTime Represents the timing of value generation that occurs in the database.GenericGenerator Generator annotation describing any kind of Hibernate generator in a generic (de-typed) manner.IdGeneratorType Meta-annotation used to mark another annotation as providing configuration for a customIdentifierGenerator
.Index Deprecated.UsingIndex
instead.JavaTypeRegistration Registers the BasicJavaType to use for the givenJavaTypeRegistration.javaType()
JdbcTypeRegistration Describes a SqlTypeDescriptor to be added to theJdbcTypeRegistry
JoinColumnOrFormula Specifies one element of a composite join condition involving both formulas and columns.JoinFormula Specifies a join condition based on an arbitrary native SQL formula instead of a column name.LazyCollectionOption Lazy options available for a collection.LazyToOneOption Lazy options available for a ToOne association.NamedNativeQuery ExtendsNamedNativeQuery
with Hibernate features.NamedQuery ExtendsNamedQuery
with Hibernate features.NotFoundAction Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table.OnDeleteAction Possible actions for on-delete.OptimisticLockType Possible optimistic locking strategies.OrderBy Order a collection using an expression written in native SQL.ParamDef Details about a parameter defined in a FilterDef.Parameter Generic parameter (basically a key/value combination) used to parametrize other annotations.PolymorphismType Type of available polymorphism for a particular entity.ResultCheckStyle Possible styles of checking return codes on SQL INSERT, UPDATE and DELETE queries.SourceType Where should Hibernate retrieve the value from? From the database, or from the current JVM?SQLDelete Custom SQL statement for delete of an entity/collection.SqlFragmentAlias Describe aliases for filters.SQLInsert Custom SQL statement for insertion of an entity/collection.SQLUpdate Custom SQL statement for update of an entity/collection.Table Complementary information for a table declared using theTable
, orSecondaryTable
annotation.TimeZoneStorageType Describes the storage of timezone information for zoned datetime types.UuidGenerator.Style ValueGenerationType Marks an annotation type as a generator annotation type.Where Specifies a restriction written in native SQL to add to the generated SQL when querying an entity or collection. -
Classes in org.hibernate.annotations used by org.hibernate.boot.internal Class Description CollectionTypeRegistration Allows to register aUserCollectionType
to use as the default for the specified classification of collection. -
Classes in org.hibernate.annotations used by org.hibernate.boot.jaxb.mapping Class Description OnDeleteAction Possible actions for on-delete.PolymorphismType Type of available polymorphism for a particular entity. -
Classes in org.hibernate.annotations used by org.hibernate.boot.jaxb.mapping.marshall Class Description OnDeleteAction Possible actions for on-delete.PolymorphismType Type of available polymorphism for a particular entity. -
Classes in org.hibernate.annotations used by org.hibernate.boot.model.process.internal Class Description TimeZoneStorageType Describes the storage of timezone information for zoned datetime types. -
Classes in org.hibernate.annotations used by org.hibernate.boot.spi Class Description CollectionTypeRegistration Allows to register aUserCollectionType
to use as the default for the specified classification of collection. -
Classes in org.hibernate.annotations used by org.hibernate.cfg Class Description Cascade Apply a cascade strategy on an association.ColumnTransformer Custom SQL expression used to read the value from and write a value to a column.Comment Specifies a comment that will be included in generated DDL.DiscriminatorFormula Specifies an expression written in native SQL as the discriminator for an entity inheritance hierarchy.FetchProfile.FetchOverride Descriptor for a particular association override.Formula Specifies an expression written in native SQL that is used to read the value of an attribute instead of storing the value in aColumn
.Index Deprecated.UsingIndex
instead.IndexColumn Deprecated.Prefer the standard JPAOrderColumn
annotation and the Hibernate specificListIndexBase
(for replacingIndexColumn.base()
).JoinColumnOrFormula Specifies one element of a composite join condition involving both formulas and columns.JoinFormula Specifies a join condition based on an arbitrary native SQL formula instead of a column name.ListIndexBase Defines the start index value for a list index as stored on the database.NotFoundAction Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table.SqlFragmentAlias Describe aliases for filters. -
Classes in org.hibernate.annotations used by org.hibernate.cfg.annotations Class Description BatchSize Specifies a batch size for batch fetching of the annotated entity or collection.Cache Add caching strategy to a root entity or a collection.CacheConcurrencyStrategy Cache concurrency strategy.CollectionType Names a custom collection type for a persistent collection.Filter Add filters to an entity or a target entity of a collection.Index Deprecated.UsingIndex
instead.NamedNativeQueries A grouping of Hibernate-specificNamedNativeQuery
definitions.NamedNativeQuery ExtendsNamedNativeQuery
with Hibernate features.NamedQueries A grouping of Hibernate-specificNamedQuery
definitions.NamedQuery ExtendsNamedQuery
with Hibernate features.NotFoundAction Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table.OrderBy Order a collection using an expression written in native SQL.Proxy Lazy and proxy configuration of a particular class.SortComparator SortNatural Table Complementary information for a table declared using theTable
, orSecondaryTable
annotation.Tables A grouping of tables.Where Specifies a restriction written in native SQL to add to the generated SQL when querying an entity or collection. -
Classes in org.hibernate.annotations used by org.hibernate.id.uuid Class Description UuidGenerator Specifies that an entity identifier is generated as an RFC 4122 UUID. -
Classes in org.hibernate.annotations used by org.hibernate.mapping Class Description NotFoundAction Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table.TimeZoneStorageType Describes the storage of timezone information for zoned datetime types. -
Classes in org.hibernate.annotations used by org.hibernate.metamodel.mapping.internal Class Description NotFoundAction Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table. -
Classes in org.hibernate.annotations used by org.hibernate.sql.results.graph.entity.internal Class Description NotFoundAction Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table. -
Classes in org.hibernate.annotations used by org.hibernate.testing.orm.domain.animal Class Description ColumnTransformer Custom SQL expression used to read the value from and write a value to a column.SortNatural -
Classes in org.hibernate.annotations used by org.hibernate.testing.orm.domain.gambit Class Description CollectionId Describe an identifier column for a bag.CollectionIdJdbcTypeCode Form ofJdbcTypeCode
for describing the id of an id-bag mappingGenericGenerator Generator annotation describing any kind of Hibernate generator in a generic (de-typed) manner.JdbcTypeCode Specifies the JDBC type-code to use for the column mapping. When applied to a Map-valued attribute, describes the Map value.NaturalId This specifies that a property is part of the natural id of the entity.OrderBy Order a collection using an expression written in native SQL.SortComparator SortNatural -
Classes in org.hibernate.annotations used by org.hibernate.testing.orm.domain.retail Class Description NaturalId This specifies that a property is part of the natural id of the entity. -
Classes in org.hibernate.annotations used by org.hibernate.tuple Class Description AttributeAccessor Names a persistent property access strategy (PropertyAccessStrategy
) to use.CreationTimestamp Marks a property as the creation timestamp of the containing entity.Generated Specifies that the value of the annotated property is generated by the database.GeneratedColumn Specifies that a column is defined using a DDLgenerated always as
clause or equivalent, and that Hibernate should fetch the generated value from the database after each SQLINSERT
orUPDATE
.GeneratorType Deprecated.Most uses can be changed to useValueGenerationType
+AnnotationValueGeneration
TenantId Identifies a field of an entity that holds a tenant id in discriminator-based multitenancy.UpdateTimestamp Marks a property as the update timestamp of the containing entity.