Spring Data JPA articles

Repositories with Criteria queries in Spring Data

Previously we discovered the advantages of repositories compared to classic DAO layer. We saw that repositories supported both native SQL and JPQL queries. But do they support other features of JPA, as Criteria API ? Yes, and we'll see it in this article.

Continue Reading β†’

SpEL in Spring Data queries

Spring Expression Language (SpEL) est is used often in Spring Security project. But Spring Data also supports it.

Continue Reading β†’

JPA implementation in Spring Data

In some of previous article we discovered how Hibernate and its JPA implementation work. We can use them as components for native-developed solutions. But we can also use them with Spring Framework.

Continue Reading β†’

Data repositories in Spring Data JPA

Thanks to JPA module of Spring Data project we can simplify database querying. In this article we'll focus on it.

Continue Reading β†’