Spring Data
-
Enterprise Java
Using Enum in Spring Data JPA Queries
When constructing our persistence layer using Spring Data JPA, we frequently deal with entities that contain enum fields. These enum…
Read More » -
Enterprise Java
Spring JPA LIKE Query Example With JdbcTemplate or JpaRepository
LIKE queries in SQL allow users to search for specified patterns in the database table columns, enabling flexible and dynamic…
Read More » -
Enterprise Java
Querydsl vs. JPA Criteria
Querydsl and JPA Criteria are widely used frameworks for creating type-safe queries in Java. Both offer methods to express queries…
Read More » -
Enterprise Java
Refresh and Fetch an Entity After Save in Spring Data JPA
The Java Persistence API (JPA) serves as a connector linking Java objects and relational databases, facilitating the smooth persistence and…
Read More » -
Core Java
Test Repository with @DataJpaTest and JUnit
1. Introduction In today’s software development landscape, ensuring the reliability and correctness of applications is paramount. Testing plays a crucial…
Read More » -
Enterprise Java
Java Application with Neo4j: How to use Spring custom queries and projections
We previously built a Java application on a Neo4j graph database. Now we can take this further by exploring custom…
Read More » -
Enterprise Java
Pouring Coffee into the Matrix: Building Java Applications on Neo4j
In this blog post, we will step through building an application in Java that highlights the capabilities and powers of…
Read More » -
Enterprise Java
Spring Data Mock DAO
Warning, the following code example is suitable for a narrow range of use cases… but it’s strangely useful. When writing…
Read More » -
Enterprise Java
A Weird Side Entrance
One of the main reasons I blog is to remind myself how easily one can use software development techniques to…
Read More »