I do not think that is going to be that simple - iirc, when i last looked at how that works, it happens at load time, not at runtime. Setting the bit to false will not do anything unles you do it before you load the configuration.
Larry On 11/3/06, Guillaume Carré <[EMAIL PROTECTED]> wrote:
Hi, I'd like to enable/disable the cache model on my sqlMapClient programmatically (not via the sqlMapConfig file), but I can't find a way to do so. I tried the following: ExtendedSqlMapClient extendedSqlMapClient = (ExtendedSqlMapClient) sqlMapClient; extendedSqlMapClient.getDelegate().setCacheModelsEnabled(false); (with no cacheModelsEnabled property in the sqlMapConfig file, by default it's on) but the caches are still on... Any idea? Thanks. -- Guillaume Carré
