pull/2180/merge
Eric Peterson 3 months ago committed by GitHub
commit 1ad982aeee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -228,8 +228,13 @@ public abstract class ProxyStatement implements Statement
public ResultSet getGeneratedKeys() throws SQLException
{
var resultSet = delegate.getGeneratedKeys();
if (proxyResultSet == null || ((ProxyResultSet) proxyResultSet).delegate != resultSet) {
proxyResultSet = ProxyFactory.getProxyResultSet(connection, this, resultSet);
if (resultSet != null) {
if (proxyResultSet == null || ((ProxyResultSet) proxyResultSet).delegate != resultSet) {
proxyResultSet = ProxyFactory.getProxyResultSet(connection, this, resultSet);
}
}
else {
proxyResultSet = null;
}
return proxyResultSet;
}

Loading…
Cancel
Save