That's what exactly I planed to do. Thanks for prompt response.
btw, I miss some features which are available in sqlMapClient but not in daoManager!
Tony
Jeff Butler wrote on 9/29/2006, 11:56 AM:
I assume you mean that you want to flush the cache from iBATIS DAOs.Two things I can think of...1. Write a do-nothing query, and add that query to the <flushOnExecute> settings of your cache declaration. Then execute the query in a dao method.2. You could write a dao method to do this:SqlMapClient client = (SqlMapClient) getSqlMapExecuter();client.flushDataCache();The second requires some knowledge of iBATIS internals, but it should work.Jeff Butler
On 9/29/06, Tony Qian <[EMAIL PROTECTED]> wrote:All,
I'm using Abator generated code for iBATIS. Does anyone know how to flush cache manually in a similar fashion as in sqlMapClient?
thanks,
Tony
