Re: Individual Object Caching

2010-01-29 Thread Andrus Adamchik
nd password=$pwd" expression. Please suggest. [1]http://cayenne.apache.org/doc/query-result-caching.html Regards Nishant --- On Thu, 28/1/10, Andrus Adamchik wrote: From: Andrus Adamchik Subject: Re: Individual Object Caching To: user@cayenne.apache.org Date: Thursday, 28 January, 2010, 3:3

Re: Individual Object Caching

2010-01-29 Thread Nishant Neeraj
eved using "user_name=$name and password=$pwd" expression. Please suggest. [1]http://cayenne.apache.org/doc/query-result-caching.html Regards Nishant --- On Thu, 28/1/10, Andrus Adamchik wrote: From: Andrus Adamchik Subject: Re: Individual Object Caching To: user@cayenne.apache.or

Re: Individual Object Caching

2010-01-28 Thread Andrus Adamchik
Yes, a query refreshes cached objects (unless the query itself is served from cache). Andrus On Jan 28, 2010, at 11:59 AM, Nishant Neeraj wrote: Hi, I am a bit confused on the way Cayenne handles object-cache. It sounds to me that object-cache gets invalidated [1], whenever a call like

Individual Object Caching

2010-01-28 Thread Nishant Neeraj
Hi, I am a bit confused on the way Cayenne handles object-cache. It sounds to me that object-cache gets invalidated [1], whenever a call like this takes placeĀ  loadMenu(){... SelectQuery query = new SelectQuery(PaintingType.class, ...); return (List)context.performQuery(query); } Now, there are