/** * Sets whether to use caching for all types of Statement. * @param cache whether to cache all types of statement */ public void setCacheAll(boolean cache) { setCacheStatements(cache); setCachePreparedStatements(cache); setCacheCallableStatements(cache); }
ccon.setCachePreparedStatements(cachePS); ccon.setCacheCallableStatements(cacheCS); log_info("Created a new connection");