RE: Track Column level changes in Cayenne

2012-04-09 Thread Simran Narula
Don't worry about this ! The culprit was incorrect configuration in db -Original Message- From: Simran Narula [mailto:snar...@avoka.com] Sent: Tuesday, 10 April 2012 1:55 PM To: user@cayenne.apache.org Subject: RE: Track Column level changes in Cayenne Hi Guys, Looks like n

RE: Track Column level changes in Cayenne

2012-04-09 Thread Simran Narula
121) ... 65 more -Original Message----- From: Simran Narula Sent: Thursday, 5 April 2012 1:54 PM To: 'user@cayenne.apache.org' Subject: RE: Track Column level changes in Cayenne Hey Andrus, Thanks for your reply that day. Just wanted to let you know this Worked !! Tha

RE: Track Column level changes in Cayenne

2012-04-04 Thread Simran Narula
By the way, Cayenne should allow checking if a particular value has been changed, may be in the future releases -Original Message- From: Simran Narula [mailto:snar...@avoka.com] Sent: Thursday, 5 April 2012 1:54 PM To: user@cayenne.apache.org Subject: RE: Track Column level changes in

RE: Track Column level changes in Cayenne

2012-04-04 Thread Simran Narula
Hey Andrus, Thanks for your reply that day. Just wanted to let you know this Worked !! Thanks heaps for help ! -Original Message- From: Andrus Adamchik [mailto:and...@objectstyle.org] Sent: Wednesday, 28 March 2012 6:50 PM To: user@cayenne.apache.org Subject: Re: Track Column level

Re: Track Column level changes in Cayenne

2012-03-28 Thread Andrus Adamchik
(reposting from stackoverflow answer) There are a few ways to approach this. Here is the one that IMO is the most transparent. The trick is to use a different ObjectContext from the one committing changes. Then you will get a separate copy of the object that will contain currently saved value: