/** * INTERNAL: * Return true if the query uses default properties. * This is used to determine if this query is cacheable. * i.e. does not use any properties that may conflict with another query * with the same JPQL or selection criteria. */ @Override public boolean isDefaultPropertiesQuery() { return super.isDefaultPropertiesQuery() && (!this.isResultSetOptimizedQuery) && (this.isResultSetAccessOptimizedQuery == null || this.isResultSetAccessOptimizedQuery.equals(isResultSetAccessOptimizedQueryDefault)) && (this.shouldUseSerializedObjectPolicy == shouldUseSerializedObjectPolicyDefault) && (isDefaultLock()) && (!hasAdditionalFields()) && (!hasPartialAttributeExpressions()) && (!hasUnionExpressions()) && (!hasNonFetchJoinedAttributeExpressions()) && (this.fetchGroup == null) && (this.fetchGroupName == null) && (this.shouldUseDefaultFetchGroup); }
/** * INTERNAL: * Return true if the query uses default properties. * This is used to determine if this query is cacheable. * i.e. does not use any properties that may conflict with another query * with the same JPQL or selection criteria. */ @Override public boolean isDefaultPropertiesQuery() { return super.isDefaultPropertiesQuery() && (!this.isResultSetOptimizedQuery) && (this.isResultSetAccessOptimizedQuery == null || this.isResultSetAccessOptimizedQuery.equals(isResultSetAccessOptimizedQueryDefault)) && (this.shouldUseSerializedObjectPolicy == shouldUseSerializedObjectPolicyDefault) && (isDefaultLock()) && (!hasAdditionalFields()) && (!hasPartialAttributeExpressions()) && (!hasUnionExpressions()) && (!hasNonFetchJoinedAttributeExpressions()) && (this.fetchGroup == null) && (this.fetchGroupName == null) && (this.shouldUseDefaultFetchGroup); }
/** * INTERNAL: * Return true if the query uses default properties. * This is used to determine if this query is cacheable. * i.e. does not use any properties that may conflict with another query * with the same JPQL or selection criteria. */ public boolean isDefaultPropertiesQuery() { return super.isDefaultPropertiesQuery() && (isDefaultLock()) && (!isDistinctComputed()) && (!hasAdditionalFields()) && (!hasPartialAttributeExpressions()) && (!hasNonFetchJoinedAttributeExpressions()) && (!hasFetchGroup()) && (getFetchGroupName() == null) && (shouldUseDefaultFetchGroup()); }
if (isDefaultLock()) { setWasDefaultLockMode(true); ForUpdateOfClause lockingClause = null;
if (isDefaultLock()) { setWasDefaultLockMode(true); ForUpdateOfClause lockingClause = null;
if (isDefaultLock()) { setWasDefaultLockMode(true); ForUpdateOfClause lockingClause = null;