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

Reply via email to