Migrate JPA Entities to Panache Entities

MSAL

Converts standard JPA entities to Quarkus Panache entities using the Active Record pattern. Entities will extend PanacheEntity and gain built-in CRUD operations.

org.openrewrite.quarkus.spring.MigrateEntitiesToPanache
mod run . --recipe=org.openrewrite.quarkus.spring.MigrateEntitiesToPanache

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. Add Gradle or Maven dependency io.quarkus:quarkus-hibernate-orm-panache:x
  2. Convert JPA Entity to Panache Entity