Hello,
I would like to map an extended class to a table and a "parent" table.
This means:
I have following classes:
Item
SpecialItem extends Book
and following tables:
items
items_specialitem
IMHO the advantage of this structure is that the items_specialitem "extends"
the items table and I don't have duplicated attributes in the tables. the
"items_specialitem" has a fk_item which should be a foreign key to the items
table.
so I setted up following mappings:
==================================
==================================
But this won't work.
The aim is to make a store transaction of a specialitem and this transaction
should insert/udate/delete automagically the items and items_specialitem
table.
I did not find a working solution via google (I just read this model is not
supported by OJB??)
It would be very nice if someone could give me some hints how this could be
realized...
If you need further information about classes/tables/configs - please let me
know.
Thx in advance,
stefan walkner
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org