Migrate to Hibernate 6.6.x

Proprietary

This recipe will apply changes commonly needed when migrating to Hibernate 6.6.x.

io.moderne.hibernate.MigrateToHibernate66
mod run . --recipe=io.moderne.hibernate.MigrateToHibernate66

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate to Hibernate 6.0.x
  2. Migrate to Hibernate 6.6.x
  3. Upgrade Gradle or Maven dependency versions org.hibernate.common:hibernate-commons-annotations:7.0.x
  4. Change type UserDefinedType to UserDefinedObjectType
  5. Fix conflicting class type annotation Hibernate 6.6
  6. Remove table from single table inherited entity
  7. Migrate Hibernate CascadeType constants