Blog:

Type Safe SQL in Java with jOOQ

No matter if you are using frameworks like JPA, MyBatis or Spring Data JDBC you always end up declaring the SQL statements as a Java String.

No matter if you are using frameworks like JPA, MyBatis or Spring Data JDBC you always end up declaring the SQL statements as a Java String......

28.06.2019

Java Persistence Done Right

When it comes to accessing relational databases with Java, people usually think of two options: SQL or ORM

When it comes to accessing relational databases with Java, people usually think of two options: SQL or ORM.....

07.06.2019

Introduction to Database Migrations with Spring Boot and Flyway

If you are working with Spring Boot there are several ways to initialize the database.

If you are working with Spring Boot there are several ways to initialize the database......

20.11.2018

How to JOIN two Entities without Mapped Relationship

Often you don’t want to map all relationships in an entity model (a blog post about this topic in detail will follow).

Often you don’t want to map all relationships in an entity model (a blog post about this topic in detail will follow)......

29.05.2018

JPA Inheritance Strategies

Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance.

Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance......

22.05.2018

JPA Enums: Mapping Strategies and Trade-Offs

With JPA it’s possible to map Java enums to columns in a database table using the Enumerated annotation.

With JPA it’s possible to map Java enums to columns in a database table using the Enumerated annotation......

02.04.2018