Uses of Package
org.hibernate.annotations
Packages that use org.hibernate.annotations
Package
Description
A set of mapping annotations which extend the O/R mapping annotations defined by JPA.
Built-in implementations of
AttributeBinder
and TypeBinder.This package contains the interfaces that make up the bootstrap API
for Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package contains classes which are "shared" by other subsystems,
and implementations of some key algorithms.
Models the fetch profiles defined by the application.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
Contains the
UuidGenerator.This package defines the Hibernate configuration-time mapping model.
Most contracts here have been replaced by the new runtime
mapping model.
-
Classes in org.hibernate.annotations used by org.hibernate.annotationsClassDescriptionAssociates a user-defined annotation with an
AttributeBinder, allowing the annotation to drive some custom model binding.Identifies policies for managing concurrent access to the shared second-level cache.Describes the data layout used for storing an object into the query cache.Deprecated.Enumerates the persistence operations which may be cascaded from one entity instance to associated entity instances.Marks an annotation type as a dialect-specific override for some other annotation type.Enumerates methods for fetching an association from the database.Enumeration extending the JPA flush modes with flush modes specific to Hibernate, and a "null" mode,FlushModeType.PERSISTENCE_CONTEXT, for use as a default annotation value.Deprecated.useEventTypeandEventTypeSetsinsteadMeta-annotation used to mark another annotation as providing configuration for a custom identifier generator.Deprecated.Use the JPA-definedFetchType.EAGERinstead ofLazyCollection(FALSE).Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table.Enumerates the possible actions for theon deleteclause of a foreign key constraint.Enumerates the possible optimistic lock checking strategies.Deprecated.sincePolymorphismis deprecatedDeprecated.Use anExpectationclass instead.Enumeration of defines styles of soft-deleteSpecifies the source of a generated value, either the virtual machine, or the database.Describes the storage of timezone information for zoned datetime types, in particular, for the typesOffsetDateTimeandZonedDateTime.Associates a user-defined annotation with aTypeBinder, allowing the annotation to drive some custom model binding.Represents a kind of UUID, that is, what RFC 4122 calls a "version".Meta-annotation used to mark another annotation as providing configuration for a custom value generation strategy. -
Classes in org.hibernate.annotations used by org.hibernate.binder.internalClassDescriptionSpecifies an attribute access strategy to use.Specifies a maximum batch size for batch fetching of the annotated entity or collection.Specifies a collation to use when generating DDL for the column mapped by the annotated field or property.Specifies a comment that will be included in generated DDL.A list of
Comments.Optional annotation used in conjunction with the JPA-definedDiscriminatorColumnannotation to express Hibernate-specific discriminator properties.Identifies a field of an entity that holds a tenant id in discriminator-based multitenancy. -
Classes in org.hibernate.annotations used by org.hibernate.bootClassDescriptionDescribes the data layout used for storing an object into the query cache.
-
Classes in org.hibernate.annotations used by org.hibernate.boot.internalClassDescriptionDescribes the data layout used for storing an object into the query cache.Allows to register a
UserCollectionTypeto use as the default for the specified classification of collection. -
Classes in org.hibernate.annotations used by org.hibernate.boot.jaxb.mappingClassDescriptionEnumerates the possible actions for the
on deleteclause of a foreign key constraint.Deprecated.sincePolymorphismis deprecatedRepresents a kind of UUID, that is, what RFC 4122 calls a "version". -
Classes in org.hibernate.annotations used by org.hibernate.boot.jaxb.mapping.marshallClassDescriptionEnumerates the possible actions for the
on deleteclause of a foreign key constraint.Deprecated.sincePolymorphismis deprecatedRepresents a kind of UUID, that is, what RFC 4122 calls a "version". -
Classes in org.hibernate.annotations used by org.hibernate.boot.model.internalClassDescriptionMarks a root entity or collection for second-level caching, and specifies: a named cache region in which to store the state of instances of the entity or collection, and an appropriate cache concurrency policy, given the expected data access patterns affecting the entity or collection.Identifies policies for managing concurrent access to the shared second-level cache.Specifies the persistence operations that should cascade to associated entity instances.Names a custom collection type for a persistent collection.Specifies custom SQL expressions used to read and write to the column mapped by the annotated persistent attribute in all generated SQL involving the annotated persistent attribute.Specifies an expression written in native SQL as the discriminator for an entity inheritance hierarchy.Overrides the fetching strategy for a particular association in the named fetch profile being defined.Overrides the fetching strategy for the annotated association in a certain named fetch profile.Specifies that an entity or collection is affected by a named filter declared using
@FilterDef, and allows the default filter condition to be overridden for the annotated entity or collection role.Specifies an expression written in native SQL that is used to read the value of an attribute instead of storing the value in aColumn.Indicates that the associated temporal value should be stored with fractional seconds.Specifies a custom HQL/JPQL query to be used in place of the default SQL generated by Hibernate when an entity or collection is fetched from the database by id.Deprecated.UseIndexinstead.Deprecated.Specifies a join condition based on an arbitrary native SQL formula instead of a column name.Specifies the base value for theorder columnof a persistent list or array, that is, the order column value of the first element of the list or array.A grouping ofNamedNativeQuerydefinitions.Declares a named query written in native SQL.A grouping ofNamedQuerydefinitions.Declares a named query written in HQL or JPQL.Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table.Enumerates the possible actions for theon deleteclause of a foreign key constraint.Deprecated, for removal: This API element is subject to removal in a future version.UseSQLOrderinstead.Configures the layout for the entity or collection data in a query cache.Describes a soft-delete indicator mapping.Defines an interpolated alias occurring in a SQL filter condition.Order a collection using an expression or list of expression written in native SQL.Specifies a custom SQL query to be used in place of the default SQL generated by Hibernate when an entity or collection is loaded from the database by id.Deprecated, for removal: This API element is subject to removal in a future version.The options available here are all now offered by other newer and better-designed annotations in this package.Deprecated, for removal: This API element is subject to removal in a future version.sinceTableis deprecated -
Classes in org.hibernate.annotations used by org.hibernate.boot.model.process.internalClassDescriptionDescribes the storage of timezone information for zoned datetime types, in particular, for the types
OffsetDateTimeandZonedDateTime. -
Classes in org.hibernate.annotations used by org.hibernate.boot.spiClassDescriptionDescribes the data layout used for storing an object into the query cache.Allows to register a
UserCollectionTypeto use as the default for the specified classification of collection. -
Classes in org.hibernate.annotations used by org.hibernate.engine
-
Classes in org.hibernate.annotations used by org.hibernate.engine.profile
-
Classes in org.hibernate.annotations used by org.hibernate.engine.spi
-
Classes in org.hibernate.annotations used by org.hibernate.generator.internalClassDescriptionSpecifies that the annotated field of property is a generated creation timestamp.Specifies that the annotated field of property is a generated timestamp, and also specifies the timing of the timestamp generation, and whether it is generated in Java or by the database:
source = VMindicates that the virtual machine current instant is used, andsource = DBindicates that the databasecurrent_timestampfunction should be used.Specifies that the value of the annotated property is generated by the database.Deprecated.useEventTypeandEventTypeSetsinsteadDeprecated.useCurrentTimestampinsteadSpecifies the source of a generated value, either the virtual machine, or the database.Identifies a field of an entity that holds a tenant id in discriminator-based multitenancy.Specifies that the annotated field of property is a generated update timestamp. The timestamp is regenerated every time an entity instance is updated in the database. -
Classes in org.hibernate.annotations used by org.hibernate.id.uuid
-
Classes in org.hibernate.annotations used by org.hibernate.mappingClassDescriptionDescribes the data layout used for storing an object into the query cache.Enumerates methods for fetching an association from the database.Specifies how Hibernate should handle the case of an orphaned foreign key with no associated row in the referenced table.Enumerates the possible actions for the
on deleteclause of a foreign key constraint.Enumeration of defines styles of soft-deleteDescribes the storage of timezone information for zoned datetime types, in particular, for the typesOffsetDateTimeandZonedDateTime. -
Classes in org.hibernate.annotations used by org.hibernate.metamodel.mapping.internalClassDescriptionSpecifies 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.internalClassDescriptionSpecifies 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.tupleClassDescriptionSpecifies that the annotated field of property is a generated creation timestamp.Deprecated.use
EventTypeandEventTypeSetsinsteadDeprecated.ValueGenerationTypeandAnnotationValueGenerationnow provide a much more powerful and typesafe alternativeSpecifies that the annotated field of property is a generated update timestamp. The timestamp is regenerated every time an entity instance is updated in the database.
CacheModeorCacheStoreModeandCacheRetrieveMode.