Hi friends,
We know that there is there are 3 inheritance mapping strategies in
java persistence.
* SINGLE TABLE PER CLASS HIERARCHY
* JOIN SUB CLASS HIERARCHY
* TABLE PER CONCRETE ENTITY CLASS
And I know that
SINGLE TABLE PER CLASS HIERARCHY and
JOIN SUB CLASS HIERARCHY are better than
TABLE PER CONCRETE ENTITY CLASS because support for polymorphic relationships are very poor with
TABLE PER CONCRETE ENTITY CLASS strategy.
So my question is what is the best strategy from both
SINGLE TABLE PER CLASS HIERARCHY and
JOIN SUB CLASS HIERARCHY with minimum draw backs.