MergedResultSet

Merged result set. Used to combine several result sets into one. Merged result set will contain rows from all appended result sets. Result sets are not required to have the same lists of columns, but required to have compatible column definitions, for example, if one result set has a {@link java.sql.Types#VARCHAR} column {@code NAME} then another results sets that have {@code NAME} column should also define it with the same type.

Methods
void add(ResultSet rs)
Appends a result set.
void add(ResultSet rs) throws SQLException
Appends a result set.
Parameters:
rs - result set to append
Throws:
SQLException - on SQL exception
SimpleResultSet getResult()
Returns merged results set.
SimpleResultSet getResult()
Returns merged results set.
Returns:
result set with rows from all appended result sets
String toString()
String toString()