Hi All,
I have a somewhat complex mapping (compared to what I have implemented previously). I have not been able to get the hibernate mapping to work as it appears the dtd doesn't like the xml structure of what I am trying to do.
Here is my class hierarchy.
I have main class A, with 3 subclasses, B C and D.
I would like to implement B C and D as joined subclasses.
All that works so far.
Class B has further subclasses. I would like to implement the B and sublcass hierarchy using the table per hierachy approach.
So I would like to define the subclasses of B as subclasses using descriminator values and storing all the subclasses in B's table.
This would give me four tables, for A B C and D, with the table for B containing its sublcasses.
Does this make sense and can it be done?
It appears that the DTD (v3) didn't like having a <subclass> element as the child of a <joined-subclass> element.
Thanks
|