We are using Easy Mock for creating JUnit test case in java with H2 database. As code of fetching the Blob content is specific to Oracle and getting the following error. ClassCastException: Caot cast org.h2.jdbc.JdbcResultSet (id=72) to oracle.jdbc.driver.OracleResultSet
public BLOB getBLOB(String field) throws SQLException {
try {retu ((OracleResultSet) rs).getBLOB(field);
} catch (NullPointerException e) {}}
Bit stuck with this as how can we handle this in Easy Mock without changing the above code.
