On Fri, May 28, 2010 at 4:20 PM, Gary Jarrel <garyjarre..mail.com> wrote:
> SelectQuery q = new SelectQuery(Admin.class);
> q.setCacheGroups("testGroup");
> q.setCacheStrategy(QueryCacheStrategy.SHARED_CACHE);
>
> List<Admin> result = getDataContext().performQuery(q);
> assertEquals(2, result.size());
Further to my email I was reading through the Removing Cache Groups
post and I changed SHARED_CACHE to LOCAL_CACHE and the test ran
perfectly. Only a single execution of SQL from the QueryLogger and the
cache size was 1.
???
Gary
This archive was generated by hypermail 2.0.0 : Fri May 28 2010 - 06:26:25 UTC