This one time, at band camp, Balaraman,Prabhu said:
B>> I would appreciate any feedback on the following object caching issue. I
B>> noticed that caching appears to work fine with the db.load() method, but
B>> does not work with OQLQuery.execute(). In the latter case, Castor appears
B>> to be making calls to the back-end for every query. I currently use MySQL
B>> as the back-end DB, and confirmed this behavior using MySQL logging. Other
B>> developers had posted similar messages (see the thread "How to make cache
B>> works?") - has there been any resolution?
B>> Many thanks!
Prabhu,
When using db.load(), Castor checks the cache before going to the
database. When using an OQL query, it goes straight to the database
regardless.
Caching is also affected by the cache type. What cache type are you
using in your mapping descriptor(s)?
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&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