CockroachDB is a distributed SQL database that supports Java Database Connectivity (JDBC) API. It has recently added tutorials for Spring Data JDBC, Spring Data JPA, and MyBatis to help developers implement applications on top of the Java programming language. These tutorials cover different data access patterns depending on the needs of the application. CockroachDB is compatible with Postgres wire, making it easy to use with these frameworks.