} else if (pValue instanceof DateTimeData) {
DateTimeData value = (DateTimeData) pValue;
cachedRowSet.updateDate(pColOrdinal, new Date(value.asDate().getTime()));
} else if (pValue instanceof BinaryData) {
BinaryData value = (BinaryData) pValue;
cachedRowSet.updateBinaryStream(pColOrdinal, new ByteArrayInputStream(value.getValue()), value.getActualSize());
}
} catch (SQLException e) {
UsageException errorVar = new UsageException(e.getMessage(), net.helipilot50.stocktrade.framework.Constants.SP_ER_USER, net.helipilot50.stocktrade.framework.Constants.SP_ER_PARAMETERERROR, e);
ErrorMgr.addError(errorVar);
throw errorVar;