getResultSet()

Syntax:

ResultSet getResultSet()
                       throws SQLException

Description:

Retrieves the current result as a ResultSet object. This method should be called only once per result.

Returns:

the current result as a ResultSet object or null if the result is an update count or there are no more results

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Statement.getResultSet()