Migrate to Spring Data JPA 2.7

MSAL

Migrate applications to the latest Spring Data JPA 2.7 release.

org.openrewrite.java.spring.data.UpgradeSpringData_2_7
mod run . --recipe=org.openrewrite.java.spring.data.UpgradeSpringData_2_7

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. Migrate to Spring Data JPA 2.5
  2. Change method name org.springframework.data.jpa.repository.JpaRepository getById(..) to getReferenceById