You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Mark Wardle <ma...@wardle.org> on 2017/04/18 14:52:42 UTC
Committed snapshot
Is there a simple way of getting the value of a property as committed rather than the current property value?
Many thanks,
Mark
Re: Committed snapshot
Posted by Mark Wardle <ma...@wardle.org>.
Thanks Michael. Looks good - I'll give it a whirl.
Mark
--
Dr. Mark Wardle
Consultant Neurologist, Cardiff, UK
(Sent from my mobile)
> On 18 Apr 2017, at 15:57, Michael Gentry <bl...@gmail.com> wrote:
>
> Hi Mark,
>
> I haven't done it for a specific property, but I did it for a DataObject.
> Perhaps you can get inspiration from:
>
> https://gist.github.com/mrg/4dce22b67175c27f4047#file-cayenneutils-java-L73
>
> Note: This was written for Cayenne 3.0, so 3.1/4.0 might be slightly
> different.
>
> mrg
>
>
>> On Tue, Apr 18, 2017 at 10:52 AM, Mark Wardle <ma...@wardle.org> wrote:
>>
>> Is there a simple way of getting the value of a property as committed
>> rather than the current property value?
>>
>> Many thanks,
>>
>> Mark
>>
>>
Re: Committed snapshot
Posted by Michael Gentry <bl...@gmail.com>.
Hi Mark,
I haven't done it for a specific property, but I did it for a DataObject.
Perhaps you can get inspiration from:
https://gist.github.com/mrg/4dce22b67175c27f4047#file-cayenneutils-java-L73
Note: This was written for Cayenne 3.0, so 3.1/4.0 might be slightly
different.
mrg
On Tue, Apr 18, 2017 at 10:52 AM, Mark Wardle <ma...@wardle.org> wrote:
> Is there a simple way of getting the value of a property as committed
> rather than the current property value?
>
> Many thanks,
>
> Mark
>
>