Migrate to Hibernate 5.6.x with Jakarta Persistence
MSALThis 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. MigrateToHibernate56Jakartamod run . --recipe= org. openrewrite. hibernate. MigrateToHibernate56JakartaInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.