Pagination & Sorting in REST API using Spring Data JPA

preview_player
Показать описание
Learn how to add pagination & sorting to your Spring Boot REST API using Spring Data JPA.

Рекомендации по теме
Комментарии
Автор

This was absolutely perfect. Exactly what I was looking for.

HenrryWithRs
Автор

Nice tutorial, thank you! I just had to add in application.properties in order to make it work with Spring Boot 2.6.3

FedericoPedemonte
Автор

hey mate, thanks so much! This video was excellent, very clear and concise

xixReact
Автор

That was very helpful for me! Thanks a lot!

DaniilDenisov-wsov
Автор

Wow, thank you so much. Paginating with spring boot seems a lot easier than in Node, even with Prisma ORM.

themrsupermanto
Автор

I gotta commend you on your choice of books!! Awesome video too :)

KAdArShDonNVSN
Автор

sweet and simple example to start with this concept, Hope you can cover complex with multiple table example

sinurao
Автор

Thank you this was a great tutorial and helped me a lot

billionaires
Автор

10:24 is there a way to customize what data that pageable return? for example only content, pageNumber and pageSize

TheSdoWn
Автор

How would you make it so the getBooks method could be sorted in both descending or ascending order?

AfricanThinker
Автор

Can you show example how to do pagination with Pageable as parameter of controller?

waldemarjankowski
Автор

how can i custom the respon of this
"pageable": {
"sort": {
"empty": true,
"sorted": false,
"unsorted": true
},
"offset": 4,
"pageSize": 4,
"pageNumber": 1,
"unpaged": false,
"paged": true
},
"last": true,
"totalPages": 2,
"totalElements": 8,
"size": 4,
"number": 1,
"sort": {
"empty": true,
"sorted": false,
"unsorted": true
},
"numberOfElements": 4,
"first": false,
"empty": false
}

JunxHead
Автор

I assume if i have another Requestparameter i can set how many items we get per page right?

ChipsReal
visit shbcf.ru