Hello,
I've found only a way with XML-mapping files to "override" the inheritance-tag for different branches of an extended object.
All my attemptions to do this with hibernate-annotations failed, so I want you to ask if you can help me with this problem.
For example:
Class A is a persistent class.
B and C extend A.
But for B I need inheritance = table per class
and for C I need inheritance = single table
All my tried combinations of adding the inheritance annotations in different ways failed.
Is it even possible to override inheritance-annotations?
Thanks,
gabi
|