TemporaryRowHolderImpl singleRow;
DataDictionary dd = activation.getLanguageConnectionContext().getDataDictionary();
// In soft upgrade mode, we could be dealing with databases created
// with 10.8 or prior and for such databases, we do not want to do
// any column reading optimization to maintain backward compatibility
if (!dd.checkVersion(DataDictionary.DD_VERSION_DERBY_10_9,null)) {
singleRow =
new TemporaryRowHolderImpl(activation, null,
rs.getResultDescription());
singleRow.insert(rs.getCurrentRow());
return (TemporaryRowHolderResultSet) singleRow.getResultSet();