assertEquals("BinaryFloat did not match for row " + id, fields
.get("BF"), rs.getFloat(2));
// LONG column needs to be read before BLOB column
assertEquals("Long did not match for row " + id, fields
.get("L"), rs.getString(8));
BlobRef hadoopBlob = (BlobRef) fields.get("B");
Blob oraBlob = rs.getBlob(3);
assertTrue("Blob did not match for row " + id, Arrays.equals(
hadoopBlob.getData(), oraBlob.getBytes(1L, (int) oraBlob
.length())));
assertEquals("Char did not match for row " + id, fields
.get("C"), rs.getString(4));
ClobRef hadoopClob = (ClobRef) fields.get("CL");
Clob oraClob = rs.getClob(5);