"getPreparedStatement().getSavedObject(itemNumber) expected to be " +
"instance of RowLocation, not " +
getPreparedStatement().getSavedObject(itemNumber).getClass().getName() +
", query is " + getPreparedStatement().getSource());
}
RowLocation rl = (RowLocation) getPreparedStatement().getSavedObject(itemNumber);
if (! (rl.cloneObject() instanceof RowLocation))
{
SanityManager.THROWASSERT(
"rl.cloneObject() expected to be " +
"instance of RowLocation, not " +
rl.getClass().getName() +
", query is " + getPreparedStatement().getSource());
}
}
/* We have to return a clone of the saved RowLocation due
* to the shared cache of SPSs.