This one time, at band camp, Sebastian Gil said:

SG>How to expire Castor cache? In docs stands that I should use
SG>org.exolab.castor.jdo.Database expireCache method, but in Castor 0.9.5
SG>there is no such method. I use two different JDO pools for read-only 
SG>operations
SG>and for read/write. So without expiring cache in read-only pool I'll have
SG>incorrect results. I don't want to create additional mapping with cache set
SG>to none and I can't make my mapping to not use cache because of long 
SG>transactions.
SG>The only way is to expire cache in read-only pool.

Sebastian, 

It looks to me like the Javadoc on the website for the
org.exolab.castor.jdo.Database interface was mistakenly generated against
the code in the CVS HEAD. My apologies for this confusion. I'm
not sure how or why this happened. 

The cache expiration API that you're seeking is actually available in
the CVS HEAD. You'll need to check out the code from there and compile
it to use it. The info on accessing the CVS repository is available here:

    http://www.castor.org/cvs.html

Bruce
-- 
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to