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
@@ -81,6 +81,10 @@ public class PoolablePreparedStatement extends PoolableStatement implements Prep
public PreparedStatementHolder getPreparedStatementHolder() {
return holder;
}
public int getHitCount() {
return holder.getHitCount();
}
public void setFetchSize(int rows) throws SQLException {
currentFetchSize = rows;