Spring Data JPA - How to Sort by Nested Property Examples

Published: 27 December 2022
on channel: Code Java
2,117
30

In this video, I'd like to share with you some code examples about how to sort a list of entities by nested property with Spring Data JPA. For example, sort a list of products by brand name, where the nested property is product.brand.name.

For code examples and sample project, check the written tutorial at https://www.codejava.net/frameworks/s...