Rename Quarkus Hibernate Panache types to Quarkus Data Hibernate

Apache 2.0

Migrate from io.quarkus.hibernate.panache to io.quarkus.data.hibernate package and rename Panache types to Quarkus Data types.

io.quarkus.updates.core.quarkus339.QuarkusDataHibernateRenames
mod run . --recipe=io.quarkus.updates.core.quarkus339.QuarkusDataHibernateRenames

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

Recipe list

It runs these recipes, in this order.

  1. Change type (with inner class import fix)
  2. Change type (with inner class import fix)
  3. Change type (with inner class import fix)
  4. Change type (with inner class import fix)
  5. Change type (with inner class import fix)
  6. Change type (with inner class import fix)
  7. Change type (with inner class import fix)
  8. Change type (with inner class import fix)
  9. Change type PanacheEntity to ManagedEntity
  10. Change type (with inner class import fix)
  11. Change type PanacheRepository to ManagedRepository
  12. Change type Panache to QuarkusData
  13. Change type PanacheQuery to DataQuery
  14. Change type PanacheEntityMarker to EntitySwitcher
  15. Change type PanacheRepositoryQueries to RepositoryQueries
  16. Change type PanacheRepositorySwitcher to RepositorySwitcher
  17. Rename package name io.quarkus.hibernate.panache to io.quarkus.data.hibernate