// 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 {
if (pValue instanceof TextData) {
TextData textValue = (TextData) pValue;
cachedRowSet.updateString(pColOrdinal, textValue.toString());
} else if (pValue instanceof IntegerData) {
IntegerData integerValue = (IntegerData) pValue;
cachedRowSet.updateInt(pColOrdinal, integerValue.getIntegerValue());
} else if (pValue instanceof DoubleData) {
DoubleData doubleValue = (DoubleData) pValue;