data-jpa-3-to-4: Spring Data JPA 3.5 vs 4.2 side by side - package moves, nullness, Specification, keyset, Page JSON, Jackson 3, test slices, real transcripts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
Ankur Mhatre
2026-12-03 09:31:28 +05:30
co-authored by Claude Sonnet 5.5
parent 3f061c5e5d
commit 7a2bcc1eb6
100 changed files with 2314 additions and 0 deletions
@@ -0,0 +1,84 @@
== org.springframework.data.jpa.repository.JpaRepository
List<S> findAll(Example<S>)
List<S> findAll(Example<S>, Sort)
List<S> saveAllAndFlush(Iterable<S>)
S saveAndFlush(S)
T getById(ID) @Deprecated
T getOne(ID) @Deprecated
T getReferenceById(ID)
void deleteAllByIdInBatch(Iterable<ID>)
void deleteAllInBatch()
void deleteAllInBatch(Iterable<T>)
void deleteInBatch(Iterable<T>) @Deprecated
void flush()
== org.springframework.data.jpa.repository.JpaSpecificationExecutor
List<T> findAll(PredicateSpecification<T>)
List<T> findAll(Specification<T>)
List<T> findAll(Specification<T>, Sort)
Optional<T> findOne(PredicateSpecification<T>)
Optional<T> findOne(Specification<T>)
Page<T> findAll(Specification<T>, Pageable)
Page<T> findAll(Specification<T>, Specification<T>, Pageable)
R findBy(PredicateSpecification<T>, Function<? super JpaSpecificationExecutor.SpecificationFluentQuery<S>, R>)
R findBy(Specification<T>, Function<? super JpaSpecificationExecutor.SpecificationFluentQuery<S>, R>)
boolean exists(PredicateSpecification<T>)
boolean exists(Specification<T>)
long count(PredicateSpecification<T>)
long count(Specification<T>)
long delete(DeleteSpecification<T>)
long delete(PredicateSpecification<T>)
long update(UpdateSpecification<T>)
== org.springframework.data.jpa.domain.Specification
Predicate toPredicate(Root<T>, CriteriaQuery<?>, CriteriaBuilder)
Specification<T> and(PredicateSpecification<T>)
Specification<T> and(Specification<T>)
Specification<T> or(PredicateSpecification<T>)
Specification<T> or(Specification<T>)
static Specification<T> allOf(Iterable<Specification<T>>)
static Specification<T> allOf(Specification<T>[])
static Specification<T> anyOf(Iterable<Specification<T>>)
static Specification<T> anyOf(Specification<T>[])
static Specification<T> not(Specification<T>)
static Specification<T> unrestricted()
static Specification<T> where(PredicateSpecification<T>)
static Specification<T> where(Specification<T>)
== org.springframework.data.jpa.domain.PredicateSpecification
Predicate toPredicate(From<?, T>, CriteriaBuilder)
PredicateSpecification<T> and(PredicateSpecification<T>)
PredicateSpecification<T> or(PredicateSpecification<T>)
static PredicateSpecification<T> allOf(Iterable<PredicateSpecification<T>>)
static PredicateSpecification<T> allOf(PredicateSpecification<T>[])
static PredicateSpecification<T> anyOf(Iterable<PredicateSpecification<T>>)
static PredicateSpecification<T> anyOf(PredicateSpecification<T>[])
static PredicateSpecification<T> not(PredicateSpecification<T>)
static PredicateSpecification<T> unrestricted()
static PredicateSpecification<T> where(PredicateSpecification<T>)
== org.springframework.data.jpa.domain.DeleteSpecification
DeleteSpecification<T> and(DeleteSpecification<T>)
DeleteSpecification<T> and(PredicateSpecification<T>)
DeleteSpecification<T> or(DeleteSpecification<T>)
DeleteSpecification<T> or(PredicateSpecification<T>)
Predicate toPredicate(Root<T>, CriteriaDelete<T>, CriteriaBuilder)
static DeleteSpecification<T> allOf(DeleteSpecification<T>[])
static DeleteSpecification<T> allOf(Iterable<DeleteSpecification<T>>)
static DeleteSpecification<T> anyOf(DeleteSpecification<T>[])
static DeleteSpecification<T> anyOf(Iterable<DeleteSpecification<T>>)
static DeleteSpecification<T> not(DeleteSpecification<T>)
static DeleteSpecification<T> unrestricted()
static DeleteSpecification<T> where(DeleteSpecification<T>)
static DeleteSpecification<T> where(PredicateSpecification<T>)
== org.springframework.data.jpa.domain.UpdateSpecification
Predicate toPredicate(Root<T>, CriteriaUpdate<T>, CriteriaBuilder)
UpdateSpecification<T> and(PredicateSpecification<T>)
UpdateSpecification<T> and(UpdateSpecification<T>)
UpdateSpecification<T> or(PredicateSpecification<T>)
UpdateSpecification<T> or(UpdateSpecification<T>)
static UpdateSpecification.UpdateOperation<T> update(UpdateSpecification.UpdateOperation<T>)
static UpdateSpecification<T> allOf(Iterable<UpdateSpecification<T>>)
static UpdateSpecification<T> allOf(UpdateSpecification<T>[])
static UpdateSpecification<T> anyOf(Iterable<UpdateSpecification<T>>)
static UpdateSpecification<T> anyOf(UpdateSpecification<T>[])
static UpdateSpecification<T> not(UpdateSpecification<T>)
static UpdateSpecification<T> unrestricted()
static UpdateSpecification<T> where(PredicateSpecification<T>)
static UpdateSpecification<T> where(UpdateSpecification<T>)