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 and columns and object-oriented programming languages have classes and fields but they also provide inheritance. A concept that is not known in relational databases. JPA provides solutions to map inheritance to database [...]
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 using the Enumerated annotation: @Enumerated private Color color; An enum can be mapped as an integer or a string but mapping of enums [...]
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.
Software Application Legacy Systems Work… Until They Don’t
It seems every week there is a new electronic security threat to be concerned about It seems every week there is a new electronic security threat to be concerned about. Increasing in frequency are the major threats that target those who are not keeping their systems up to date. In other words, the lowest hanging [...]