Rename Quarkus Hibernate Panache types to Quarkus Data Hibernate
Recipe ID
io.quarkus.updates.core.quarkus339.QuarkusDataHibernateRenamesArtifactorg.openrewrite.recipe:rewrite-third-partyMigrate from io.quarkus.hibernate.panache to io.quarkus.data.hibernate package and rename Panache types to Quarkus Data types.
Composite recipeApache 2.0
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe io.quarkus.updates.core.quarkus339.QuarkusDataHibernateRenamesIf the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-third-party:RELEASEDefinition
This recipe runs the following recipes in order.
- Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type
PanacheEntitytoManagedEntityorg.openrewrite.java.ChangeType - Change type (with inner class import fix)
io.quarkus.updates.core.quarkus339.ChangeTypeWithInnerClass - Change type
PanacheRepositorytoManagedRepositoryorg.openrewrite.java.ChangeType - Change type
PanachetoQuarkusDataorg.openrewrite.java.ChangeType - Change type
PanacheQuerytoDataQueryorg.openrewrite.java.ChangeType - Change type
PanacheEntityMarkertoEntitySwitcherorg.openrewrite.java.ChangeType - Change type
PanacheRepositoryQueriestoRepositoryQueriesorg.openrewrite.java.ChangeType - Change type
PanacheRepositorySwitchertoRepositorySwitcherorg.openrewrite.java.ChangeType - Rename package name
io.quarkus.hibernate.panachetoio.quarkus.data.hibernateorg.openrewrite.java.ChangePackage
Data tables
Structured output this recipe can produce.
- Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats