Migrate to Hibernate 5.6.x

MSAL

This recipe will apply changes commonly needed when migrating from Hibernate 4.x or an earlier 5.x release to 5.6.x. Hibernate ORM dependencies are upgraded to 5.6.x, the hibernate-entitymanager, hibernate-java8 and hibernate-annotations artifacts that were merged into hibernate-core are replaced by it, and types that were removed in 5.x are replaced by their successors, including the JPA provider in persistence.xml.

org.openrewrite.hibernate.MigrateToHibernate56
mod run . --recipe=org.openrewrite.hibernate.MigrateToHibernate56

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