Details
Description
Hi,
I'm using the JdbcOdbcDriver to connect to a really old ODBC driver (Solid v2.2). This ODBC driver doesn't support multiple resultsets, so calling getMoreResults() in com.ibatis.sqlmap.engine.execution.SqlExecutor will throw a SQLException.
Could you check if the connection supports multiple resultsets before calling getMoreResults ?
Example:
private boolean getMoreResults(final Statement stmt) throws SQLException {
if (!stmt.getConnection().getMetaData().supportsMultipleResultSets())
return stmt.getMoreResults();
}
Thanks, Condor