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.jaxb.mapping org.hibernate.boot.jaxb.mapping.marshall org.hibernate.boot.spi org.hibernate.cfg org.hibernate.cfg.annotations org.hibernate.id.uuid org.hibernate.mapping 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 acheckconstraint to be included in the generated DDL.CollectionTypeRegistration Allows to register aUserCollectionTypeto use as the default for the specified classification of collection.ColumnDefault Specifies that a column has adefaultvalue 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_timestampfunction is used to generate values of the annotated attribute, based onCurrentTimestamp.timing().DialectOverride.Check Specializes aCheckin a certain dialect.DialectOverride.ColumnDefault Specializes aColumnDefaultin a certain dialect.DialectOverride.DiscriminatorFormula Specializes aDiscriminatorFormulain a certain dialect.DialectOverride.FilterDefs SpecializesFilterDefsin a certain dialect.DialectOverride.Filters SpecializesFiltersin a certain dialect.DialectOverride.Formula Specializes aFormulain a certain dialect.DialectOverride.GeneratedColumn Specializes aGeneratedColumnin a certain dialect.DialectOverride.JoinFormula Specializes aJoinFormulain a certain dialect.DialectOverride.OrderBy Specializes anOrderByin 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 aWherein 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 modeswith flush modes specific to Hibernate, and a "null" flush mode,FlushModeType.PERSISTENCE_CONTEXTfor 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.1ForeignKeyannotationFormula 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 asclause or equivalent, and that Hibernate should fetch the generated value from the database after each SQLINSERTorUPDATE.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.UsingIndexinstead.JavaTypeRegistration Registers the BasicJavaType to use for the givenJavaTypeRegistration.javaType()JdbcTypeRegistration Describes a SqlTypeDescriptor to be added to theJdbcTypeRegistryJoinColumnOrFormula 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 ExtendsNamedNativeQuerywith Hibernate features.NamedQuery ExtendsNamedQuerywith 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, orSecondaryTableannotation.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.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.spi Class Description CollectionTypeRegistration Allows to register aUserCollectionTypeto use as the default for the specified classification of collection. -
Classes in org.hibernate.annotations used by org.hibernate.cfg Class Description 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.UsingIndexinstead.IndexColumn Deprecated.Prefer the standard JPAOrderColumnannotation and the Hibernate specificListIndexBase(for replacingIndexColumn.base()).JoinColumnOrFormula 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.UsingIndexinstead.NamedNativeQueries A grouping of Hibernate-specificNamedNativeQuerydefinitions.NamedNativeQuery ExtendsNamedNativeQuerywith Hibernate features.NamedQueries A grouping of Hibernate-specificNamedQuerydefinitions.NamedQuery ExtendsNamedQuerywith 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, orSecondaryTableannotation.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.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 asclause or equivalent, and that Hibernate should fetch the generated value from the database after each SQLINSERTorUPDATE.GeneratorType Deprecated.Most uses can be changed to useValueGenerationType+AnnotationValueGenerationTenantId 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.