Spring Data JPA Paging and Sorting Examples with Thymeleaf

preview_player
Показать описание
Learn to implement pagination and sort for an existing Spring Boot application using Spring Data JPA, Hibernate, MySQL and Thymeleaf.
How to code pagination bar displaying total items (total rows), total pages, current page, page numbers, first page, previous page, next page, and last page.
How to sort list data by column names, sort in ascending or descending order.
Throughout this tutorial, you will see Spring Data JPA and Thymeleaf make it very easy, simple and convenient to implement paging and sorting functionalities.

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

The best spring boot tutorial channel in youtube

tanveersyed
Автор

Amazing Resource, I love the way you explain very in detail. Your tutorial help me get through my days. Thank you😀😀😀😀😀😀

iandmetick
Автор

You are the Spring Boot DUDE 🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻🖖🏻

brazo
Автор

Cảm ơn anh đã chia sẻ kiến thức tới mọi người. Chúc anh sức khỏe, thành công! ^_^

nguyenbakhoi
Автор

You are awesome, bro. YOU are my FRIEND.

hamdamboyurunov
Автор

This exersice is very very cool, thanks a lot !!!!

alejandroeliasdiazorellana
Автор

I understood d pagination Very well..Thank u

swapnakadam
Автор

Hey Dear thanks helpful video and nice explanation . Now I got to know pagination concept

amolsd
Автор

Thanks. Well explained. Could you share your insight why css is only applied on index and not appearing on pages ?

innocentmukunzi
Автор

Dạ cám ơn anh đã chỉ, tại em không dùng th:href = " @{ /css/style.css } " nên bị lỗi :P

ktn
Автор

You're great. You deserve more views.
Thanks a lot.
Can you please make a video in findUser by username using Thymeleaf please?

majedabdullah
Автор

Can you please cover complex queries or stored procedure execution with the REST web services?

jasper
Автор

very good and nice Mr. thank you so much but how to do this operating with BOOTSTRAP???(for instance pagination process)

nihatismayilzade
Автор

Sir th:each= i:${#numbers.sequence(1, totalpages)}
Without thymleaf kaise karnge

garimajain
Автор

NAM please make videos on charts and graphs its my humble request

rajashekar
Автор

Now how do you add pagination to other methods besides the findall method? For example I am using a Spring data JPA query called



"List<ChairRecord> businessAccountInfo);"

But this does not support Pageable

MrCupcakes
Автор

very good example mister Code Java, congratulations.
But if the page had more records it would show like this [First Previous 1 2 3 4 5 6 ... Next Last],
It would be good if only the first three or four are shown, not all, so it would not show as many numbers
[First Previous .. 3 4 5 6 .. Next Last], how would you do that master.

manuelsanches
Автор

Thank you very much, can you post it on github pls ?

az
Автор

@Code Java Master Code Java I was testing according to your indications but I was not successful, you could do it in your same example, please. If you were so nice, thanks. :/

manuelsanches
Автор

Có cách nào số trang hiển thị giảm bớt đi không anh, ví dụ lấy lên dữ liệu cho 8 trang mà chúng ta chỉ muốn hiển thị 4 trang 1, 2, 3, 4, khi ở trang 4 click vô next thì hiển thị trang 2, 3, 4, 5. Rất vui nếu được anh reply comment. Em like video trước ^-^

vantainguyen