This one time, at band camp, [EMAIL PROTECTED] said:

>We need the cache feature in Castor to have good performance.  However, our
>system will received a "signal" from external source to indicate that an
>object, which is already cached by Castor, has been changed and new
>properties are available in the database.
>
>How can I reload the object from the database and ask Castor to replace the
>"old and cached" object with the newly restored object?
>
>P.S.: As I said at the begining of this e-mail, turning off the cache
>setting in the Castor mapping is not a good solution.

Henry,

In the CVS depot there is a new API for cache flushing and eviction. See
the Database.expireCache() method. This might help out your situation.

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