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,10 @@
|
||||
# Spring Boot 4.2.0
|
||||
GET /page
|
||||
200 {"content":[{"id":1,"title":"Cosmos","isbn":"978-0001","publishedOn":"1980-09-01"},{"id":2,"title":"Dune","isbn":"978-0002","publishedOn":"1965-08-01"}],"empty":false,"first":true,"last":false,"number":0,"numberOfElements":2,"pageable":{"offset":0,"pageNumber":0,"pageSize":2,"paged":true,"sort":{"empty":false,"sorted":true,"unsorted":false},"unpaged":false},"size":2,"sort":{"empty":false,"sorted":true,"unsorted":false},"totalElements":5,"totalPages":3}
|
||||
GET /paged-model
|
||||
200 {"content":[{"id":1,"title":"Cosmos","isbn":"978-0001","publishedOn":"1980-09-01"},{"id":2,"title":"Dune","isbn":"978-0002","publishedOn":"1965-08-01"}],"page":{"size":2,"number":0,"totalElements":5,"totalPages":3}}
|
||||
GET /slice
|
||||
200 {"content":[{"id":1,"title":"Cosmos","isbn":"978-0001","publishedOn":"1980-09-01"},{"id":2,"title":"Dune","isbn":"978-0002","publishedOn":"1965-08-01"}],"empty":false,"first":true,"last":false,"number":0,"numberOfElements":2,"pageable":{"offset":0,"pageNumber":0,"pageSize":2,"paged":true,"sort":{"empty":false,"sorted":true,"unsorted":false},"unpaged":false},"size":2,"sort":{"empty":false,"sorted":true,"unsorted":false}}
|
||||
GET /window
|
||||
200 {"content":[{"id":1,"title":"Cosmos","isbn":"978-0001","publishedOn":"1980-09-01"},{"id":2,"title":"Dune","isbn":"978-0002","publishedOn":"1965-08-01"}],"empty":false,"last":false}
|
||||
log: WARN --- [o-auto-1-exec-1] ration$PageModule$WarningLoggingModifier : Serializing PageImpl instances as-is is not supported, meaning that there is no guarantee about the stability of the resulting JSON structure!
|
||||
Reference in New Issue
Block a user