The previous part of this tutorial described how we can create database queries with named queries. This tutorial has already taught us how we can create static database queries with Spring Data JPA. However, when we are writing real-life applications, we have to be able to create dynamic database queries as well. This blog post […] Read more
Spring Framework
The second part of my Spring Data JPA tutorial described how you can create a simple CRUD application with Spring Data JPA. This blog entry will describe how you can use query methods for creating custom queries with Spring Data JPA. In order to have a reasonable example, I have created three new requirements for […] Read more
We have now configured the persistence layer of our Spring application. We are finally ready to create our first Spring Data JPA repository. This blog post describes how we can create a repository that provides CRUD operations for todo entries. Let’s get started. Additional Reading: If you are not familiar with Spring Data JPA, you […] Read more
After we have declared the required dependencies in our POM file, we have to configure the application context of our Spring application. This blog post describes how we can configure the persistence layer of a Spring application that uses Spring Data JPA and Hibernate. Let’s get started. Additional Reading: If you are not familiar with […] Read more
This blog entry describes how you can create RESTful url addresses to your web application with Spring MVC 3.1 and UrlRewriteFilter. In other words, the url addresses of your application must fulfill following requirements: An url address must have a suffix in it (in other words, an url address most not contain a suffix like […] Read more
The first part of this series described how you can create RESTful urls with Spring MVC 3.1 and default-servlet-handler element of the MVC namespace. This blog entry will describe how you can use the dispatcher servlet url mappings for the same purpose. As you might remember from my previous blog entry, a RESTful url must […] Read more