cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <lon.varsc...@gmail.com>
Subject Re: Committed values of an object
Date Wed, 26 Aug 2015 19:58:24 GMT
These ideas worked great.  Thanks guys!

-Lon

On Tue, Aug 25, 2015 at 2:44 PM, Michael Gentry <mgentry@masslight.net>
wrote:

> Hi Lon,
>
> You can use/modify isIdenticalToSnapshot() here:
>
> https://gist.github.com/mrg/4dce22b67175c27f4047
>
> At least that worked for Cayenne 3.0.2 -- you didn't specify which version
> of Cayenne.  I suspect this will work for more recent versions as well.
>
> mrg
>
>
> On Tue, Aug 25, 2015 at 5:07 PM, Lon Varscsak <lon.varscsak@gmail.com>
> wrote:
>
> > Is there a way to get the committed value of a property?  There have
> been a
> > few times with EOF where comparing the current value with the committed
> > snapshot is handy.
> >
> > -Lon
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message