/** * Returns the bytes from a result set * * @param res * The ResultSet to read from * @param columnName * The name of the column to read from * * @return The byte value from the column */ protected byte[] getBytesFromResultset(ResultSet res, String columnName) throws SQLException { // read the bytes from an oracle blob try { initOracleDB(); return super.oracleDB.getBytesFromResultset(res, columnName); } catch (Exception e) { throw new NestedSQLException(e); } }