cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: revertChanges method removed?
Date Wed, 19 Apr 2006 12:46:52 GMT
Chris,

The method fell victim to the pre-beta refactoring effort - we needed  
to reconcile new ObjectContext and existing DataContext APIs, so we  
settled on naming closer to 1.1 ('revertChanges' was introduced  
during one of the 1.2 milestones). Currently the context has two  
methods that undo the changes:

* rollbackChanges (cascades revert to parent contexts)
* rollbackChangesLocally (reverts locally)

Both are equivalent unless you are using nested DataContrexts or  
remote object persistence.

Andrus



On Apr 19, 2006, at 4:38 PM, Christoph Sturm wrote:

> Hey guys!
>
> I am upgrading from M11 to b2 and it looks like the revertChanges
> method was removed. I cant find anything in the releasenotes, so i'd
> like to know if it was just renamed or removed, and if it was removed
> why it was removed.
>
> thanks
>  chris
>
> --
> christoph.sturm@gmail.com
>


Mime
View raw message