cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Error on BaseContext - object is modified when committed is expected
Date Mon, 24 Jan 2011 11:33:02 GMT

On Jan 24, 2011, at 1:26 PM, Bruno René Santos wrote:

> I'll try to modify the CommitChanges and CommitChangesToParent in order to create a very
short lived context to where I copy all modifiedObjects and deletedObjects in order to commit
them.

There should be no modified or deleted objects in the shared context. The object must be copied
to your shorty-lived context BEFORE it is modified or deleted.

Andrus


Mime
View raw message