support JDK 1.7 features

This commit is contained in:
高铁
2019-10-19 19:30:46 +08:00
parent e91f383fed
commit b2f914bd15
4 changed files with 8 additions and 8 deletions
@@ -879,10 +879,10 @@ public class DruidPooledStatement extends PoolableWrapper implements Statement {
}
public void closeOnCompletion() throws SQLException {
throw new SQLFeatureNotSupportedException();
stmt.closeOnCompletion();
}
public boolean isCloseOnCompletion() throws SQLException {
throw new SQLFeatureNotSupportedException();
stmt.isCloseOnCompletion();
}
}