hibernate two tables per one entity
Preface: This is a widely asked question even on SO, and also widely the answers are related to Subclass or actually SuperClass approach (e.g. [1]) Actual answer: On these posts [2], [3] they suggest to use a xml mapping with EntityName parameter. So, mapping with xml you don’t need superclass, just give the EntityName parameter … Read more