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.
Java Persistence Done Right
When it comes to accessing relational databases with Java, people usually think of two options: SQL or ORM
Introduction to Database Migrations with Spring Boot and Flyway
If you are working with Spring Boot there are several ways to initialize the database.
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).
JPA Inheritance Strategies
Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance.
Inheritance in JPA
Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance. Relational databases have tables[...]
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.
Should you use Enums with JPA?
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[...]