http://db.apache.org/ojb/howto-use-anonymous-keys.html
-Brian
On Feb 2, 2004, at 2:05 PM, Ralf Bode wrote:
Thanks Brian,
but do you mean with "anonymous" keys ?
now i have (in classes): CUSTOMER car: Car carId: int
CAR: id: int
(and the XML desc for it like in mail before) am i with anon.keys able to "see" car-fk in database-table CUSTOMER? after: broker.store(customer); ?
thanks again, and thanks for your patience. greetings!
---------------------------------------------------------------------On the FK thing, if you do not use anonymous FK's the ID's need to be managed manually, as well as the references. I tend to recommend using anonymous keys for FK relationships because it is very easy to forget this.
-Brian
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de Mit Yahoo! Suche finden Sie alles: http://suche.yahoo.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
