} else if (java.sql.Blob.class.equals(requiredType)) {
value = rs.getBlob(index);
} else if (java.sql.Clob.class.equals(requiredType)) {
value = rs.getClob(index);
} else {
throw new UnreachableCodeException();
}
// Perform was-null check if demanded (for results that the
// JDBC driver returns as primitives).
if (wasNullCheck && value != null && rs.wasNull()) {