Hi > We are using ODMG. It is my understanding, that inserts, > updates, and > deletes do not cascade by default. > > If I have an Invoice object, and it refers to a Customer > object. What > will happen if I attempt to save a new Invoice that refers to a new > Customer? An error?
You have to lock the new objects to the transaction in write mode. OJB will then perform the necessary INSERTS on transaction commit. cheers, Thomas > Thanks > David Corbin > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
