That isn't correct. The PB-Api will save the whole tree. Maybe you use proxies to set the reference object. That's a bug in the actual version and Thomas Mahler is informed. The object you save can be an proxies, but not the references.
Axel > -----Urspr�ngliche Nachricht----- > Von: Molitor, Stephen [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 20. November 2002 17:48 > An: 'OJB Users List' > Betreff: RE: Problem saving a tree of objects with the PB > > > I'm new to OJB, but I think that's exactly correct. The ODMG > interface keeps track of what has been changed; the PB > interface is a lower level persistence 'kernel' that only > saves stuff when you call 'store' on each object that needs > to be saved. > > Steve Molitor > > -----Original Message----- > From: Neil Blue [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 20, 2002 10:38 AM > To: '[EMAIL PROTECTED]' > Subject: Problem saving a tree of objects with the PB > > > 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? > > Thanks > Neil > > -- > To unsubscribe, e-mail: > <mailto:ojb-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:ojb-user-> [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]>
