On Wed, Nov 20, 2002 at 04:37:34PM -0000, Neil Blue wrote: > Hello, > > I have an object that contains other simple objects. I have set up the > mapping file, and can save the whole tree using the ODMG interface with: > > tx.lock(object, Transaction.WRITE); > > but the pb method: > > broker.store(object); > > only seems to store the root object. > > Is this the expected behaviour of the PB interface?
it is, when you don't change the settings of the reference in your repository.xml: auto-update="true" in the reference-descriptor tells the PB to store referenced objects, too. Note that using auto-update=true is not compatible with using the odmg-API since then references would be stored twice, once by ODMG and a second time by PB. hth, Jens -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>