Migrate persistence.xml to Jakarta Persistence 3.2

MSAL

Update Jakarta Persistence 3.0 and 3.1 descriptors named persistence.xml to 3.2. Preserve newer descriptors, namespace prefixes and unrelated schema locations.

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

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