Spring Data
-
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 » -
Enterprise Java
Spring Boot Data JPA – beginner guide
Databases form an integral part of computer applications. With it comes considerable amount of database operations and the corresponding code.…
Read More » -
Enterprise Java
Read replicas and Spring Data Part 4: Configuring the read repository
Previously we set up two EntityManagers in the same application. One for the reads and one for the writes. Now…
Read More » -
Enterprise Java
Read replicas and Spring Data Part 3: Configuring two entity managers
Our previous setup works as expected. What we shall do now is to get one step further and configure two…
Read More » -
Enterprise Java
Read replicas and Spring Data Part 2: Configuring the base project
In our previous post we set up multiple PostgreSQL instances with the same data.Our next step would be to configure…
Read More »