Spring Data
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Migrate to Spring Data 2.3
- Migrate to Spring Data 3.0
- Migrate to Spring Data JPA 2.5
- Migrate to Spring Data JPA 2.7
- Migrate to Spring Data JPA 3.4
Recipes
- Add
CrudRepositoryto interfaces extendingPagingAndSortingRepository - Convert
JdbcTemplate.queryForLong(..)toqueryForObject(..) - Make AuditorAware.getCurrentAuditor return
Optional - Replace
@Queryannotation by@NativeQuerywhen possible - Replace
RepositoryRestConfigurerAdapterwithRepositoryRestConfigurer - Use
JpaSort.of(..) - Use
QuerydslPredicateExecutor<T> - Use TLS for JDBC connection strings
- Use
new SimpleMongoClientDbFactory(String)