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).
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 Inheritance Strategies
Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance.
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[...]
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.