Migrate to Hibernate 7.4.x

Proprietary

This recipe will apply changes commonly needed when migrating to Hibernate 7.4.x. Hibernate 7.4 also changes some runtime behavior and generated DDL that this recipe can't migrate, such as MySQLDialect no longer defaulting hibernate.max_fetch_depth to 2, limits on queries that fetch collections now being applied in SQL, and @CreationTimestamp/@UpdateTimestamp columns now being not null. See the 7.4 migration guide for details.

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

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