Hi again! 1)my getByIdentity() method loads object using PB and locks it in currentTransaction for read. I think it is correct, isn't it?
2)I've tried DListImpl. I set collection-class="org.apache.ojb.odmg.collections.DListImpl" for my collection. And while debugging and looking for SQL trace I see again that all objects in collection are updated!!! What's wrong? The type of the collection is really DlistImpl, I checked it. Please tell me the way you would work in this case. Thank you. >The tx.begin() ... tx.commit() snippet is using ODMG Api. >the stuff you are quoting here is from The PB. >ODMG and PB are quite different. >The dirty check you mention *is done* on the ODMG level. > >this is functionality covered by regression tests! > tx.begin(); > > System system = getByIdentity( 1, System.class ); > Collection subSystems = system.getSubSystems(); > subSystems.add( new SubSystem() ); > > tx.commit(); Best regards, Andrey Chernyh<[EMAIL PROTECTED]> Plesk Inc. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
