Tag: mappedsuperclass
-
How to group related attributes together while doing hibernate entity mapping?
Let’s say you have chosen Hibernate ORM to save data to your database. For each table you have written a corresponding entity class in your java application. And then while doing so you start noticing that a lot of the entity classes have few fields repeated. You wonder if it would be nice to keep…