Re: [JIRA] Created: (CAY-925) Support Entity/Table scope caching

2007-11-28 Thread Andrus Adamchik
Yes, this is correct. Of course use LOCAL_CACHE only when you think it is appropriate (i.e. the data doesn't change within a single user session lifespan). Also there's new pluggable 3.0 API that would allow you to control expiration of the query cache. This should be considered advanced AP

Re: [JIRA] Created: (CAY-925) Support Entity/Table scope caching

2007-11-28 Thread Malcolm Edgar
Hi Andrus, Thanks for the advice. To do this I presume I need to have Level 2 (local VM) caching enabled, and then set caching policy as appropriate for the query: // For most of the queries QueryMetadata.LOCAL_CACHE // For cached lookup data QueryMetadata.SHARED_CACHE regards Malcolm Edgar O