Re: Date filtered queries shouldn't be cached

2018-09-22 Thread Suraj Khurana
+1 I have created a Jira for this as per suggestion from Scott. -- Thanks and Regards, Suraj Khurana Omnichannel OMS Technical Expert HotWax Systems On Tue, Apr 11, 2017 at 1:31 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: >

Re: Date filtered queries shouldn't be cached

2017-04-11 Thread Jacques Le Roux
Hi Scott, +1 on both your propositions below Jacques Le 07/04/2017 à 06:04, Scott Gray a écrit : Hi Taher, Thanks for taking a look. It's not about monitoring EntityCondition creations, but about inspecting the EntityCondition supplied with the cache request e.g. LocalCache.put(...) to

Re: Date filtered queries shouldn't be cached

2017-04-06 Thread Scott Gray
Hi Taher, Thanks for taking a look. It's not about monitoring EntityCondition creations, but about inspecting the EntityCondition supplied with the cache request e.g. LocalCache.put(...) to determine if it contains an "uncachable" condition. Regarding looking for "fromDate" vs. something more

Re: Date filtered queries shouldn't be cached

2017-04-06 Thread Taher Alkhateeb
Hi Scott, Maybe I am not understanding your solution correctly, so I summarize what I understood: - Monitor all EntityCondition creations from EntityDateFilterCondition,makeCondition or EntityUtil.filterByDate - If the query has a field called "fromDate" then log a warning and disable caching

Re: Date filtered queries shouldn't be cached

2017-04-05 Thread Swapnil Mane
Thank you so much Scott for the detailed notes. Indeed, will be helpful for writing quality code. - Best Regards, Swapnil M Mane On Thu, Apr 6, 2017 at 4:40 AM, Scott Gray wrote: > In the current project I'm working on I see a lot of developers making the >