Hi Clinton, Folks, This is regarding the cache model and invalidation rules we define in IBATIS query xmls for query caching. I have a typical requirement:
Lets us say we have select query P whose results we have cached, then some update/delete query Q. IBATIS allows me to define "Invalidate P cache results whenever Q is executed". Is there any way where i can propagate parameters values of Q to cache invalidation logic, such that i can achieve selective flushing of P cached results, based on the matching parameter values. After debugging through IBATIS API i found two points: 1. The cache key generated by IBATIS is complicated one having lots of strings/longs. 2. There is no way of sending parameters of Q while flushing/invalidation during execution of query Q. If needed I can contribute on that requirement. cheers, VRL Swamy Vadali DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
