Find in this group all groups
Unknown more information…

o : 24 September 2008 • 9:21PM -0400

Is it Possible to Update Inheritance Hierarchies?
by Schmidt



Considerer the following hierarchy:

Person <- Employee <- Boss

Each class is maped to a distinct table (Mapping Classes on Multiple Joined
In this case, if I create an employee, two records are persisted in the DB
(1 person and 1 employee). What if this employee is promoted to a boss? How
can we update the hierarchy including just 1 new record at the end of the
chain? I've tried, but the whole chain is created again. Is it possible to
instruct OJB to just "append" 1 record at the Boss table?
Anyone here ever faced the same issue?

Thanks in advance!
Cleverson Schmidt
View this message in context:
Sent from the Apache DB - ObjectRelationalBridge Users mailing list archive at

To unsubscribe, e-mail: ojb-user-unsubscribe@db.a...
For additional commands, e-mail: ojb-user-help@db.a...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.