this.metaData = this.resultSet.getMetaData();
}
if (this.metaData.getColumnType(ColumnID) == Types.BLOB) {
Blob theBlob = resultSet.getBlob(ColumnID);
if (theBlob == null || resultSet.wasNull()) {
return new BinaryNullable(true, BinaryNullable.qq_Resolver.cISNULL);
}
else {
byte[] byteArray = theBlob.getBytes(1, (int)theBlob.length());
return new BinaryNullable(byteArray);
}
}
else {
byte[] byteArray = resultSet.getBytes(ColumnID);
if (byteArray == null || resultSet.wasNull()) {
return new BinaryNullable(true, BinaryNullable.qq_Resolver.cISNULL);
}
else {
return new BinaryNullable(byteArray);
}
}
}
catch (SQLException e) {
throw processException(e);