Deprecated API
Contents
-
Enums Enum Description org.hibernate.loader.BatchFetchStyle seeBatchLoadSizingStrategy
insteadorg.hibernate.spatial.SpatialFunction To be replaced byCommonSpatialFunction
-
Exceptions Exceptions Description org.hibernate.cfg.RecoverableException Was only ever referenced in a single place, in an extremely dubious way.
-
Annotation Types Annotation Type Description org.hibernate.annotations.ForeignKey use the JPA 2.1ForeignKey
annotationorg.hibernate.annotations.GeneratorType Most uses can be changed to useValueGenerationType
+AnnotationValueGeneration
org.hibernate.annotations.Index UsingIndex
instead.org.hibernate.annotations.IndexColumn Prefer the standard JPAOrderColumn
annotation and the Hibernate specificListIndexBase
(for replacingIndexColumn.base()
).
-
Annotation Type Elements Annotation Type Element Description org.hibernate.annotations.AttributeAccessor.value() org.hibernate.annotations.DynamicInsert.value() Whenfalse
, this annotation has no effect.org.hibernate.annotations.DynamicUpdate.value() Whenfalse
, this annotation has no effect.org.hibernate.annotations.NamedNativeQuery.callable() Calling database procedures and functions throughNativeQuery
is no longer supported; useNamedStoredProcedureQuery
insteadorg.hibernate.annotations.SelectBeforeUpdate.value() Whenfalse
, this annotation has no effect.org.hibernate.annotations.Table.foreignKey() useSecondaryTable.foreignKey()
org.hibernate.annotations.Table.indexes() useTable.indexes()
orSecondaryTable.indexes()
org.hibernate.envers.Audited.auditParents() Use@AuditOverride(forClass=SomeEntity.class)
instead.