/** * INTERNAL: * Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager. * This is used for nested joining as the JoinedAttributeManager passed to the joined build object. */ @Override public ObjectLevelReadQuery prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session) { ObjectLevelReadQuery nestedQuery = super.prepareNestedJoins(joinManager, baseQuery, session); nestedQuery.setShouldMaintainCache(false); return nestedQuery; }
/** * INTERNAL: * Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager. * This is used for nested joining as the JoinedAttributeManager passed to the joined build object. */ @Override public ObjectLevelReadQuery prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session) { ObjectLevelReadQuery nestedQuery = super.prepareNestedJoins(joinManager, baseQuery, session); nestedQuery.setShouldMaintainCache(false); return nestedQuery; }
/** * INTERNAL: * Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager. * This is used for nested joining as the JoinedAttributeManager passed to the joined build object. */ public ObjectLevelReadQuery prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session) { ObjectLevelReadQuery nestedQuery = super.prepareNestedJoins(joinManager, baseQuery, session); nestedQuery.setShouldMaintainCache(false); return nestedQuery; }
/** * {@inheritDoc} */ @Override public void visit(AsOfClause expression) { Expression queryExpression = queryContext.buildExpression(expression); org.eclipse.persistence.history.AsOfClause asOfClause; if (expression.hasScn()) { asOfClause = new AsOfSCNClause(queryExpression); } else { asOfClause = new org.eclipse.persistence.history.AsOfClause(queryExpression); } query.setAsOfClause(asOfClause); query.setShouldMaintainCache(false); }
/** * {@inheritDoc} */ @Override public void visit(AsOfClause expression) { Expression queryExpression = queryContext.buildExpression(expression); org.eclipse.persistence.history.AsOfClause asOfClause; if (expression.hasScn()) { asOfClause = new AsOfSCNClause(queryExpression); } else { asOfClause = new org.eclipse.persistence.history.AsOfClause(queryExpression); } query.setAsOfClause(asOfClause); query.setShouldMaintainCache(false); }
nestedQuery.setShouldMaintainCache(baseQuery.shouldMaintainCache()); nestedQuery.setShouldRefreshIdentityMapResult(baseQuery.shouldRefreshIdentityMapResult());
nestedQuery.setShouldMaintainCache(baseQuery.shouldMaintainCache()); nestedQuery.setShouldRefreshIdentityMapResult(baseQuery.shouldRefreshIdentityMapResult());
nestedQuery.setShouldMaintainCache(baseQuery.shouldMaintainCache()); nestedQuery.setShouldRefreshIdentityMapResult(baseQuery.shouldRefreshIdentityMapResult());