On 5/16/05, Mike Wannamaker <[EMAIL PROTECTED]> wrote: > Is there a programmatically way for me to remove objects from cache? Can I > release specific objects or object types IE: Address #1 or Address.class > types?
Mike, There is most certainly a manner in which to programmatically evict objects from the cache. First see the Database object's getCacheManager() method: http://castor.codehaus.org/api/org/exolab/castor/jdo/Database.html#getCacheManager() This method will give you a handle on the CacheManager. Via the CacheManager, objects can be evicted or the whole cache can be flushed. See the CacheManager API: http://castor.codehaus.org/api/org/exolab/castor/jdo/CacheManager.html HTH. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' The Castor Project http://www.castor.org/ Apache Geronimo http://geronimo.apache.org/

