mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support dynamic preparedstatement.
This commit is contained in:
@@ -288,7 +288,9 @@ public class DruidPooledStatement extends PoolableWrapper implements Statement {
|
||||
public void close() throws SQLException {
|
||||
if (!this.closed) {
|
||||
clearResultSet();
|
||||
stmt.close();
|
||||
if (stmt != null) {
|
||||
stmt.close();
|
||||
}
|
||||
this.closed = true;
|
||||
|
||||
if (conn.getConnectionHolder() != null) {
|
||||
|
||||
Reference in New Issue
Block a user