Posts tagged with JPA

Featured image for "What is the difference between JDBC, JPA, Hibernate and Spring Data?"
Java

What is the difference between JDBC, JPA, Hibernate and Spring Data?

In this blogpost I talk about the differences between JDBC, JPA, Hibernate and the various Spring Data projects and how they relate.

Read more →
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.

Read more →
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.

Read more →
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.

Read more →
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

Read more →