ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Voorhoeve, Niels {PBG}" <niels.voorho...@pepsi.com>
Subject Cacheing rowless queries?
Date Thu, 10 Nov 2005 21:54:08 GMT
Hi,

How difficult / desirable would it be to code a feature in the cacheing
mechanism to keep track of queries that do not return any objects?  In our
case, we end up hitting the database many times for queries that don't
return objects.  It would be nice to check a cache of non-results to avoid
this extra trip to the db.  I have implemented a work-around to accomplish
this in our base dao, but it's not very convenient to use.  

Niels

Mime
View raw message