The previous part of this tutorial described how we can create database queries with the @Query annotation. This tutorial has now covered two of the three methods which we can use to create query methods with Spring Data JPA. This blog post describes the last method. We will learn to create database queries by using […] Read more
Programming
The previous part of this tutorial described how we can create database queries from the method names of our query methods. Although that strategy has its advantages, it has its weaknesses as well. This blog post describes how we can avoid those weaknesses by using the @Query annotation. We will also implement a simple search […] Read more
The previous part of this tutorial taught us to pass method parameters to our query methods and described what kind of values we can return from them. This blog post describes how we can create query methods by using the query generation from the method name strategy. We will also implement a simple search function […] Read more
I think that software development is more than just a job. I see myself as an artisan who is trying to get better every day. The "easiest way" to do this is to find a few good tools and find the answers to these questions: When should I use the tool X? How should I […] Read more
Earlier we created our first Spring Data JPA repository that provides CRUD operations for todo entries. Although that is a good start, that doesn't help us to write real life applications because we have no idea how we can query information from the database by using custom search criteria. One way to find information from […] Read more
My previous blog post described how we can add integration tests to our Gradle build. A few days after I had published that blog post, I learned that we don’t have to do everything from the scratch (thanks David) because we can simplify our build script by using the Gradle TestSets plugin. This blog post […] Read more