Migrate to Spring Data 2.3

MSAL

Migrate applications to the latest Spring Data 2.3 release.

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

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. Use JpaSort.of(..)
  2. Use QuerydslPredicateExecutor<T>
  3. Add Gradle or Maven dependency org.mongodb:mongodb-driver-legacy:5.1.x
  4. Use new SimpleMongoClientDbFactory(String)
  5. Change type MongoDbFactory to MongoDatabaseFactory
  6. Change type SimpleMongoDbFactory to SimpleMongoClientDatabaseFactory
  7. Change type SimpleMongoClientDbFactory to SimpleMongoClientDatabaseFactory
  8. Change type com.mongodb.async.client.MongoClientSettings to com.mongodb.MongoClientSettings