&& (!hasAsOfClause()) && (!hasNonDefaultFetchGroup()) && (this.shouldUseSerializedObjectPolicy == shouldUseSerializedObjectPolicyDefault) && this.wasDefaultLockMode && (shouldBindAllParameters == null) && (this.hintString == null)) {
&& (redirector == null) && !doNotRedirect && (!hasAsOfClause()) && (!hasNonDefaultFetchGroup()) && (this.shouldUseSerializedObjectPolicy == shouldUseSerializedObjectPolicyDefault) && this.wasDefaultLockMode && (shouldBindAllParameters == null) && (this.hintString == null)
if ((!hasJoining() || !getJoinedAttributeManager().hasJoinedAttributeExpressions()) && (!hasPartialAttributeExpressions()) && (!hasAsOfClause()) && (!hasNonDefaultFetchGroup()) && (getHintString() == null) && wasDefaultLockMode() && shouldIgnoreBindAllParameters() && (!hasFetchGroup()) && (getFetchGroupName() == null) && shouldUseDefaultFetchGroup()) { if ((getSelectionKey() != null) || (getSelectionObject() != null)) {// Must be primary key.