openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: Flush all caches?
Date Fri, 08 Dec 2006 18:26:48 GMT


Abe White wrote:
> 1. You must use a new EntityManager for each test.
> 
> 2. If you have the DataCache enabled, you'll have to clear it.  You can 
> do that through:
> ((OpenJPAEntityManagerFactory) emf).getStoreCache().evictAll();
> 
> 3. There is no way to clear the cache on cluster node B from cluster 
> node A; you have to clear each separately.

Why not add a way to clear the cluster cache?

geir

Mime
View raw message