I'm a bit confused after reading the available documentation for Hibernate; it seems that the only way to declare subclasses is using either
subclass or
joined-subclass elements inside
root class declaration.. However, in the project I'm currently working on we have like 50-100 subclasses all extending a singe base class for business objects - this would result into extremely cumbersome base class declaration.
So I was wondering whether there exists some other way of defining inheritance - preferably by something like:
Code:
<class name="SubClass" extends="BaseClass"...
Thanks in advance.. :)[/code]