jdbc 3.0 compatible

This commit is contained in:
wenshao
2011-11-23 10:33:54 +08:00
parent c693ec4373
commit bce7dc3877
@@ -57,7 +57,7 @@ public class PreparedStatementPool {
public void put(PreparedStatementHolder holder) throws SQLException {
PreparedStatement stmt = holder.getStatement();
if (stmt.isClosed()) {
if (stmt == null) {
return;
}