BigDecimal oPartOffset = oRSet.getBigDecimal(6);
if (oRSet.wasNull()) throw new SQLException ("nu_offset column may not be null for parts with pointer disposition", "22002", 22002);
if (DebugFile.trace) DebugFile.writeln("new File(" + sTmpFilePath + ")");
File oFile = new File (sTmpFilePath);
MboxFile oMbox = new MboxFile(oFile, MboxFile.READ_ONLY);
oRetVal = oMbox.getPartAsStream(oMsgPos.longValue(), oPartOffset.longValue(), Integer.parseInt(oPartLen.toString()));
oMimeBody = new MimeBodyPart(oRetVal);
oRetVal.close();
}
else if ((oFldr.getType()&DBFolder.MODE_BLOB)!=0) {
if (DebugFile.trace) DebugFile.writeln("new MimeBodyPart(ResultSet.getBinaryStream(...))");