You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terrymanu
changed the title
ResultSet.getStatement与Statement.getConnection
Can't close connection by ResultSet.getStatement().getConnection().close()
Aug 8, 2018
2.0.0版本中,ResultSet反向持有的Statement和Statement反向持有的Connection无法正常close关掉。
源码如下:
AbstractResultSetAdapter中
public final Statement getStatement() throws SQLException {
return getResultSets().get(0).getStatement();
}
ShardingStatement中connection的getter方法
The text was updated successfully, but these errors were encountered: