RE: How to turn on escaping for named queries

2012-05-14 Thread Simran Narula
he use case. Andrus On May 7, 2012, at 6:45 AM, Simran Narula wrote: > Hi, > > I have a bunch of named queries in my application.map.xml... > > And cayenne does not seems to be escaping the parameter values when these > queries are executed > > Is there a way I can S

How to turn on escaping for named queries

2012-05-06 Thread Simran Narula
Hi, I have a bunch of named queries in my application.map.xml... And cayenne does not seems to be escaping the parameter values when these queries are executed Is there a way I can SWITCH ON escaping for these named queries in cayenne or is there no way and I will have to manually escape the p

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
enne.access.DataDomain$2.transform(DataDomain.java:791) at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850) at org.apache.cayenne.access.DataDomain.onSync(DataDomain.java:788) at org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:1

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
alidateObjects(clone); Object oldValue = clone.getXyz(); Andrus On Mar 28, 2012, at 7:58 AM, Simran Narula wrote: > Hi, > > I need to log each action taken on my portal UI for e.g. > > Price changed for product x > > Assume all the information is contained within

Track Column level changes in Cayenne

2012-03-27 Thread Simran Narula
Hi, I need to log each action taken on my portal UI for e.g. Price changed for product x Assume all the information is contained within one table i.e.both price & the product information. When the portal is loaded with product information, user can change the price of the product. I want to