support JDK 1.7 features

This commit is contained in:
高铁
2019-08-28 00:43:57 +08:00
parent d5b0ecdef8
commit a33fe5bc81
@@ -1193,15 +1193,15 @@ public class DruidPooledConnection extends PoolableWrapper implements javax.sql.
}
public void abort(Executor executor) throws SQLException {
throw new SQLFeatureNotSupportedException();
conn.abort(executor);
}
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException {
throw new SQLFeatureNotSupportedException();
conn.setNetworkTimeout(executor, milliseconds);
}
public int getNetworkTimeout() throws SQLException {
throw new SQLFeatureNotSupportedException();
return conn.getNetworkTimeout();
}
final void beforeExecute() {