Skip to content

Commit

Permalink
getMoreResults
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspercloud committed Dec 23, 2021
1 parent b29838c commit 0a75cc9
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,26 +172,30 @@ public int getUpdateCount() throws SQLException {

@Override
public boolean getMoreResults() throws SQLException {
throw new SQLFeatureNotSupportedException();
boolean result = false;
for (ExecuteStatement statement : getStatementList()) {
result = statement.getStatement().getMoreResults();
}
return result;
}

@Override
public void setFetchDirection(int direction) throws SQLException {
throw new SQLFeatureNotSupportedException();
public boolean getMoreResults(int current) throws SQLException {
return false;
}

@Override
public int getFetchDirection() throws SQLException {
public void setFetchDirection(int direction) throws SQLException {
throw new SQLFeatureNotSupportedException();
}

@Override
public Connection getConnection() throws SQLException {
public int getFetchDirection() throws SQLException {
throw new SQLFeatureNotSupportedException();
}

@Override
public boolean getMoreResults(int current) throws SQLException {
public Connection getConnection() throws SQLException {
throw new SQLFeatureNotSupportedException();
}

Expand Down

0 comments on commit 0a75cc9

Please sign in to comment.