Quantcast
Channel: Java Archives - Java Code Geeks
Viewing all articles
Browse latest Browse all 764

Query JPA Single Table Inheritance

$
0
0
In Java Persistence API (JPA), inheritance mapping provides a way to map Java class hierarchies to database tables. Single Table Inheritance is one of the inheritance strategies where all entities in a class hierarchy are stored in a single database table. Although simple to implement, it requires a discriminator column to distinguish between various subclasses. …

Viewing all articles
Browse latest Browse all 764

Trending Articles