volod wrote:
Hibernate version:
2.8
Hello. Is there a way to specify mapping for a super class of any class that I'll have that will contain ID mapping (and possibly another property that all classes will have).
And to specify in mapping of other classes to use mapping for ID of there super class?
I've found <subclass> and <joined-subclass>, but don't help as super class, subclass and joined-subclass are mapped on one table (subclass) or there should be a separate table that stores ID of a class (joined-subclass)
I'm pretty sure there isn't.