Posts tagged with JPA

Featured image for "Writing dynamic queries with Spring Data JPA"
Java

Writing dynamic queries with Spring Data JPA

With Spring Data, we can easily write queries usinng @Query. For more dynamic queries, we can use the Example and Specification API, which we'll explore here.

Featured image for "Loading initial data with Spring"
Java

Loading initial data with Spring

With Spring, you can set up your initial data in different ways. In this tutorial we'll discover database migration tools, and other options.

Featured image for "JPA made easy with Spring data's repositories"
Java

JPA made easy with Spring data's repositories

With Spring Data it's very easy to create a simple CRUD application without the hassle of creating your own DAO's. Spring Boot makes it even easier for you.

Featured image for "Testing your Spring Data JPA repository"
Java

Testing your Spring Data JPA repository

Spring Data allows you to create repositories by writing a simple interface. In this article I'll write some integration tests for a repository using DBUnit