openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject Re: QueryCache scope question
Date Thu, 03 Apr 2008 18:44:04 GMT
>  Is it imperative for the QueryCache to be shared across multiple JVMs?
>  I suppose otherwise (when data gets removed from the L2 cache for example)
>  - a single JVM QueryCache could return wrong information since it would not
>  have been updated. Is this correct?

Yes, that's correct.

Note that Kodo ships with a Coherence plug-in for both data and query caching.

-Patrick

On Thu, Apr 3, 2008 at 10:36 AM,  <Frederic_Bellier@capgroup.com> wrote:
>
>  I Apologise in advance if this question seems silly to you guys.
>
>  I am asking this question in order to finish a plugin for openjpa.
>  This plugin needs to implement the DataCache using Coherence - so I am
>  thinking that I will need to implmenet the QueryCache using Coherence to
>  inorder to make the QueryCache common accross all the JVMs in the cluster.
>
>  So here is the question:
>  Is it imperative for the QueryCache to be shared across multiple JVMs?
>  I suppose otherwise (when data gets removed from the L2 cache for example)
>  - a single JVM QueryCache could return wrong information since it would not
>  have been updated. Is this correct?
>
>  F
>
>



-- 
Patrick Linskey
202 669 5907

Mime
View raw message