仿照JBOSS实现PreparedStatementCache

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@912 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-28 14:20:00 +00:00
parent a7f4299a4b
commit 9dff400ff6
16 changed files with 832 additions and 205 deletions
@@ -126,7 +126,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
}
@Override
public final int getMaxFieldSize() throws SQLException {
public int getMaxFieldSize() throws SQLException {
checkOpen();
try {
@@ -137,7 +137,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
}
@Override
public final void setMaxFieldSize(int max) throws SQLException {
public void setMaxFieldSize(int max) throws SQLException {
checkOpen();
try {
@@ -159,7 +159,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
}
@Override
public final void setMaxRows(int max) throws SQLException {
public void setMaxRows(int max) throws SQLException {
checkOpen();
try {
@@ -192,7 +192,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
}
@Override
public final void setQueryTimeout(int seconds) throws SQLException {
public void setQueryTimeout(int seconds) throws SQLException {
checkOpen();
try {
@@ -298,7 +298,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
}
@Override
public final void setFetchDirection(int direction) throws SQLException {
public void setFetchDirection(int direction) throws SQLException {
checkOpen();
try {
@@ -320,7 +320,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
}
@Override
public final void setFetchSize(int rows) throws SQLException {
public void setFetchSize(int rows) throws SQLException {
checkOpen();
try {