Beginner |
|
Joined: Thu Aug 04, 2005 8:41 pm Posts: 47
|
Hello,
Why subclass is defined *WITHIN* a base class in hibernate mapping?
I really do not like it. I need to subclass from another class defined
in separate hbm.xml. I'm not supposed to modify that .hbm.xml
file cause it is shared across the applications and doesn't have to be
aware about my subclass.
The reason I need a subclass is that it needs to share same
fields of the base class plus it needs to define additional relationships
with objects in a different database schema which is specific for my
application.
What is the best way around this in hibernate?
Thanks a lot,
--MG
|
|