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:
co-authored by
Claude Sonnet 5.5
parent
3f061c5e5d
commit
7a2bcc1eb6
@@ -0,0 +1,81 @@
|
||||
--- boot3
|
||||
+++ boot4
|
||||
@@ -12,18 +12,27 @@
|
||||
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(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>[])
|
||||
@@ -31,10 +40,45 @@
|
||||
static Specification<T> anyOf(Specification<T>[])
|
||||
static Specification<T> not(Specification<T>)
|
||||
static Specification<T> unrestricted()
|
||||
- static Specification<T> where(Specification<T>) @Deprecated
|
||||
+ static Specification<T> where(PredicateSpecification<T>)
|
||||
+ static Specification<T> where(Specification<T>)
|
||||
== org.springframework.data.jpa.domain.PredicateSpecification
|
||||
- NOT ON THIS CLASSPATH
|
||||
+ 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
|
||||
- NOT ON THIS CLASSPATH
|
||||
+ 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
|
||||
- NOT ON THIS CLASSPATH
|
||||
+ 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>)
|
||||
Reference in New Issue
Block a user