Sunday, June 10, 2018

Spring Boot + CockroachDB in Kubernetes/OpenShift

DZone Database Zone
Spring Boot + CockroachDB in Kubernetes/OpenShift
Spring Boot + CockroachDB in Kubernetes/OpenShift
TL;DR: In this post, we look at how to use CockroachDB inside a Spring Boot application. Read on for the details.

In my previous post, I showed why CockroachDB might help you if you need a cloud-native SQL database for your application. I explained how to install it in Kubernetes/OpenShift and how to validate that the data is replicated correctly.

In this post, I am going to show you how to use Cockroach DB in a Spring Boot application. Notice that Cockroach DB is compatible with PostgresSQL driver, so in terms of configuration, it is almost the same.

No comments:

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...