Update70
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
Recipes
- Migrate @JdbcType to @JdbcTypeCode
- Migrate
Configurable.configure()
to useGeneratorCreationContext
- Migrate Hibernate
Integrator#integrate
method - Migrate LockOptions to direct parameters
- Migrate
MetamodelImplementor
to Hibernate 7.0 - Migrate NaturalIdLoadAccess method calls
- Migrate NaturalIdMultiLoadAccess method calls
- Migrate Session interface method calls
- Migrate Session save/update/delete method calls
- Migrate implicit cascade=PERSIST for @Id and @MapsId associations
- Migrate
setFlushMode()
tosetQueryFlushMode()
- Migrate to @TargetEmbeddable
- Null safe Transaction#getTimeout()
- Remove leaking of SessionFactoryImplementor from
org.hibernate.usertype.CompositeUserType
invocations and implementations - Remove leaking of SharedSessionContractImplementor from
org.hibernate.usertype.UserType
implementations - Remove leaking of SharedSessionContractImplementor from
org.hibernate.usertype.UserType
invocations - Remove unnecessary cast to
Session
forSessionFactory.createEntityManager()
- Replace Session.buildLockRequest with LockOptions
- Replace hibernate annotations with Jakarta variants