Migrate to Hibernate 7.3.x

Proprietary

This recipe will apply changes commonly needed when migrating to Hibernate 7.3.x. Hibernate 7.3 also changes some runtime behavior that this recipe can't migrate, such as getSingleResult() now always throwing when a query returns duplicate results, and query or lock timeouts that roll back the transaction now throwing PersistenceException. See the 7.3 migration guide for details.

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

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