JDBC
-
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 » -
Enterprise Java

Read replicas and Spring Data Part 1: Configuring the Databases
This is a series of blog posts on our quest to increase our application’s performance by utilizing read replicas. For…
Read More » -
Core Java

JDBC – Emulating a sequence
Probably each of us encountered this problem at least once in the programmer’s life – how to emulate a database…
Read More » -
Core Java

Java: Streaming a JDBC ResultSet as CSV
In my previous post, I showed how to convert a java.sql.ResultSet to JSON and stream it back to the caller.…
Read More » -
Enterprise Java

Fully working prototypes with Spring Boot and H2
We do use a lot of h2 with spring especially for unit tests. However instead of unit tests we might…
Read More » -
Core Java

Java: Streaming a JDBC ResultSet as JSON
This post shows how you can convert a java.sql.ResultSet to JSON and stream it back to the caller. This is…
Read More » -
Enterprise Java

Session Management using Spring Session with JDBC DataStore
In web applications, user session management is very crucial for managing user state. In this article, we are going to…
Read More »


