user clearDefines optimize Oracle PrepareStatement Cache memoery use

This commit is contained in:
wenshao
2011-12-29 23:04:03 +08:00
parent c54590db4a
commit 1352771e3f
9 changed files with 98 additions and 19 deletions
@@ -1279,8 +1279,8 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
if (entryIndex++ != 0) {
buf.append(",");
}
buf.append("\n\t\t{reuseCount:");
buf.append(entry.getValue().getReusedCount());
buf.append("\n\t\t{hitCount:");
buf.append(entry.getValue().getHitCount());
buf.append(",sql:\"");
buf.append(entry.getKey().getSql());
buf.append("\"");