Re: Removing Cayenne cache groups

2010-05-28 Thread Bob Schellink
Sorry for my late reply. On 28/05/2010 00:48, Bryan Lewis wrote: > This email made me aware of that cool new removeGroup and OSCache features. > Thanks. Two little howevers... > > In my testing, it worked only with LOCAL_CACHE, as the original poster > said. Not a big deal for me; SHARED_CACHE

Re: Blobs in the DataContext

2010-05-28 Thread MGargano
Hi Tore, I finally got around to looking at your code in the jira attachments. It looks like it will need a little bit of updating to get it 3.0 ready, but at the end of the day it still pulls the whole thing into memory at some point. I might ping you over the next week, if you don'

Re: More on caching

2010-05-28 Thread Andrus Adamchik
Ah that's right. A local query cache is created that belongs to this context only. Not sure if we need to document it though. This is the internal details that are likely to change between releases. Andrus On May 28, 2010, at 10:17 AM, Gary Jarrel wrote: On Fri, May 28, 2010 at 4:43 PM, A

Re: More on caching

2010-05-28 Thread Gary Jarrel
On Fri, May 28, 2010 at 4:43 PM, Andrus Adamchik wrote: > >> it seems that domain.getQueryCache().size() is returning 1 >> >> assertEquals(1, ((DataContext) >> getDataContext()).getParentDataDomain().getQueryCache().size()); >> assertEquals(1, ((DataContext) getDataContext()).getQueryCache().size