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,11 @@
import com.ankurm.jpamig.domain.Book;
import com.ankurm.jpamig.repo.BookRepository;
/** Deprecated long ago, still present in Spring Data JPA 4.2: warnings, not errors. */
class StillCompiles {
void old(BookRepository books) {
Book a = books.getOne(1L);
Book b = books.getById(1L);
books.deleteInBatch(java.util.List.of(a, b));
}
}