Migrate to Hibernate 5.6.x with Jakarta Persistence

MSAL

This recipe migrates to Hibernate 5.6.x and switches to its -jakarta artifacts, such as hibernate-core-jakarta, which are based on Jakarta Persistence 3.0. javax.persistence usages, the JPA API dependency and persistence.xml namespaces move to jakarta.persistence as well.

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

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