Mixing table per subclass and per hierarchy in hibernate
- by Xelluloid
In my database there are two three tables. The first one, table ABSTRACT, holds three columns
id, type, someText
This table contains all abstract information for the abstract class abstract. Now the two tables CONCRETEONE and CONCRETETWO contain all information for the concrete classes concreteOne and concreteTwo. Now I know I could use the…