November 2012
Beginner to intermediate
160 pages
3h 22m
English
In the course of this section, we will learn different techniques that can be used to sort query results with Spring Data JPA. We will also learn the guidelines that we can use to select a proper sorting method for each situation.
If we are building our queries by using the query generation from the method name strategy, we can sort query results by the following steps:
When we are building our queries by using the query generation from the method name strategy, we can use the OrderBy keyword to sort the query results when we:
OrderBy keyword to the method name.Read now
Unlock full access