[jOOQ/jOOQ#13974] ParsingConnection doesn't correctly relay Statement::getResultSet, Statement::getUpdateCount, or Statement::getMoreResults on static Statement
This commit is contained in:
parent
6061630ba2
commit
90d083a9f9
@ -344,9 +344,11 @@ final class ParsingStatement implements CallableStatement {
|
||||
// XXX: Prepared statement execution
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
private final PreparedStatement last() throws SQLException {
|
||||
private final Statement last() throws SQLException {
|
||||
if (last != null)
|
||||
return last;
|
||||
else if (statement != null)
|
||||
return statement;
|
||||
else
|
||||
throw new SQLException("No PreparedStatement is available yet");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user