cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Committed values of an object
Date Tue, 25 Aug 2015 21:44:39 GMT
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