(update, this is now working, not sure what I changed. please inquire if interested)
Hello,
I am trying to implement the table per class hierarchy approach using Xdoclet.
This works fine as long as I limit myself to a parent and child class hierarchy.
My data model is three levels deep, so I am trying to specify the grandchild as a subclass as well, in the same manner as the child.
so the top level is
* @hibernate.class
* table="Contracts"
* discriminator-value = "CB"
The middle level is
* @hibernate.subclass
* discriminator-value = "CH"
* table="Contracts"
That works so far.
The third level is
* @hibernate.subclass
* discriminator-value = "CL"
* table="Contracts"
but the subclass for the third level doesn't show up at all in the generated mapping file.
The classes inherit from one another in the expected manner.
has anyone seen or solved this?
Thanks
|