cachedRowSet.updateDouble(pColOrdinal, doubleValue.getDoubleValue());
} else if (pValue instanceof DecimalData) {
DecimalData value = (DecimalData) pValue;
cachedRowSet.updateBigDecimal(pColOrdinal, value.getBigDecimal());
} else if (pValue instanceof BooleanData) {
BooleanData value = (BooleanData) pValue;
cachedRowSet.updateBoolean(pColOrdinal, value.getBooleanValue());
} 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(), Framework.Constants.SP_ER_USER, Framework.Constants.SP_ER_PARAMETERERROR, e);
ErrorMgr.addError(errorVar);
throw errorVar;