I have a DB generated Identity column for Table A and I am able to use OJB to insert that object A and see what the identity is with a custom getLastInsertIdentityQuery() method. (Yay!)
I have a table B that is associated to Table A, but its ID is not generated. When I insert into Table A and get the generated ID, I would like to insert into table B and use that same ID. in my mapping for Table A I have a reference descriptor to Table B, with auto-XXX all true If I try to insert Obj A that has an Obj B inside of it, it appears that OJB tries to insert Obj B first. This will fail because the ID has not been generated yet. How can I get OJB to insert Obj A first, then assign that ID to Obj B ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]