You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by yunus <co...@gmail.com> on 2012/05/02 12:29:05 UTC

Merge operation

Hi,I have a relation Applicant in which all user details are stored.
I want to give user an option of updating his details so i want to know how
to update Applicant relation in cayenne. Its quite similar like MERGE in JPA
where old date has been replaced if any new changes have been made to the
existing one.Now i want to do this in cayenne..
Thanks in advance

--
View this message in context: http://cayenne.195.n3.nabble.com/Merge-operation-tp3954774.html
Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: Merge operation

Posted by Aristedes Maniatis <ar...@maniatis.org>.
If you are talking about something like a modifiedOn date attribute in the object, then look at the Cayenne listeners for the simplest way to achieve that.

Cheers

Ari


On 2/05/12 8:29pm, yunus wrote:
> Hi,I have a relation Applicant in which all user details are stored.
> I want to give user an option of updating his details so i want to know how
> to update Applicant relation in cayenne. Its quite similar like MERGE in JPA
> where old date has been replaced if any new changes have been made to the
> existing one.Now i want to do this in cayenne..
> Thanks in advance
>
> --
> View this message in context: http://cayenne.195.n3.nabble.com/Merge-operation-tp3954774.html
> Sent from the Cayenne - User mailing list archive at Nabble.com.

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A