} else {
// AD:20/11/2008: Allow for CachedRowSet to be updated if the DBDataSet has already been populated.
if (resultSet instanceof CachedRowSet) {
CachedRowSet cachedRowSet = (CachedRowSet) resultSet;
try {
cachedRowSet.updateLong(pColOrdinal, pValue);
} 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;
}