customReadQuery.setShouldUseWrapperPolicy(shouldUseWrapperPolicy());
// CR... was missing some values, execution could cause infinite loop.
customReadQuery.setQueryId(getQueryId());
customReadQuery.setExecutionTime(getExecutionTime());
customReadQuery.setShouldLoadResultIntoSelectionObject(shouldLoadResultIntoSelectionObject());
AbstractRecord primaryKeyRow;
if (getSelectionObject() != null) {
// CR#... Must also set the selection object as may be loading into the object (refresh)
customReadQuery.setSelectionObject(getSelectionObject());
// The translation/primary key row will be set in prepareForExecution.
} else if (getSelectionKey() != null) {