I can get the record for A inserted into the database if in the reference descriptor i set auto-update="true". However, there still is a problem. The primary key still skips when using autoincrement. I guess i could set it myself. Is this the correct way to handle extents on multiple tables or am I missing somthing?

-chris worley


Is it possible for ojb to insert records for both classes involved in an extent? I have the classes mapped as they are in this example (http://db.apache.org/ojb/tutorial3.html#mapping%20classes%20on%20multiple%20joined%20tables). The problem i am having is that B gets stored and no record for A. Also, i noticed that the primary key for B skips each time as if A has also generated a key.


-chris worley


--------------------------------------------------------------------- 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]



Reply via email to