by Petri Kainulainen on May 9, 2012
This is the ninth and the last part of my Spring Data JPA tutorial. Now it is time to take a look of what we have learned, and how we should use it to build better software. Table of Contents The contents of my Spring Data JPA tutorial is given in following: Part One: Configuration [...]
Read the full article...
by Petri Kainulainen on April 28, 2012
The previous part of my tutorial described how you can paginate query results with Spring Data JPA. The example application of this blog entry has the same functional requirements, but it will use Querydsl instead of JPA criteria API. This blog entry assumes that you have got experience from both Querydsl And Spring Data JPA. [...]
Read the full article...
by Petri Kainulainen on April 23, 2012
The previous part of my Spring Data JPA tutorial described how you can sort query results with Spring Data JPA. This blog entry will describe how you can paginate the query results by using Spring Data JPA. In order to demonstrate the pagination support of Spring Data JPA, I will add two new requirements for [...]
Read the full article...
by Petri Kainulainen on April 8, 2012
The fifth part of my Spring Data JPA tutorial described how you can create advanced queries with Spring Data JPA and Querydsl. This blog entry will describe how you can use Spring Data JPA for sorting the query results. As an example I will be adding two new requirements for my example application: The list [...]
Read the full article...
by Petri Kainulainen on February 28, 2012
The fourth part of my Spring Data JPA tutorial described how you can implement more advanced queries with the JPA criteria API. As you might remember, the goal of the previous part of this tutorial was to implement a search function which returns only such persons whose last name begins with the given search term. [...]
Read the full article...