org.eclipse.persistence.internal.expressions.QueryKeyExpression.additionalExpressionCriteriaMap()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(94)

本文整理了Java中org.eclipse.persistence.internal.expressions.QueryKeyExpression.additionalExpressionCriteriaMap方法的一些代码示例,展示了QueryKeyExpression.additionalExpressionCriteriaMap的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryKeyExpression.additionalExpressionCriteriaMap方法的具体详情如下:
包路径:org.eclipse.persistence.internal.expressions.QueryKeyExpression
类名称:QueryKeyExpression
方法名:additionalExpressionCriteriaMap

QueryKeyExpression.additionalExpressionCriteriaMap介绍

[英]INTERNAL: Used in case outer joins should be printed in FROM clause. Each of the additional tables mapped to expressions that joins it.
[中]内部:用于在FROM子句中打印外部连接的情况。映射到联接它的表达式的每个附加表。

代码示例

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

normalizer.getStatement().getOuterJoinExpressions().addElement(this);
normalizer.getStatement().getOuterJoinedMappingCriteria().addElement(mappingExpression);
normalizer.getStatement().getOuterJoinedAdditionalJoinCriteria().addElement(additionalExpressionCriteriaMap());
normalizer.getStatement().getDescriptorsForMultitableInheritanceOnly().add(null);
return this;
  normalizer.getStatement().getOuterJoinExpressions().addElement(null);
  normalizer.getStatement().getOuterJoinedMappingCriteria().addElement(null);
  normalizer.getStatement().getOuterJoinedAdditionalJoinCriteria().addElement(additionalExpressionCriteriaMap());
  normalizer.getStatement().getDescriptorsForMultitableInheritanceOnly().add(getMapping().getReferenceDescriptor());

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

} else if ((shouldUseOuterJoin() && (!getSession().getPlatform().shouldPrintOuterJoinInWhereClause()))
    || (!getSession().getPlatform().shouldPrintInnerJoinInWhereClause())) {
  setOuterJoinExpIndex(statement.addOuterJoinExpressionsHolders(this, mappingExpression, additionalExpressionCriteriaMap(), null));
  if ((getDescriptor() != null) && (getDescriptor().getHistoryPolicy() != null)) {
    Expression historyOnClause = getDescriptor().getHistoryPolicy().additionalHistoryExpression(this, this, 0);
  setOuterJoinExpIndex(statement.addOuterJoinExpressionsHolders(null, null, additionalExpressionCriteriaMap(), mapping.getReferenceDescriptor()));

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

} else if ((shouldUseOuterJoin() && (!getSession().getPlatform().shouldPrintOuterJoinInWhereClause()))
    || (!getSession().getPlatform().shouldPrintInnerJoinInWhereClause())) {
  setOuterJoinExpIndex(statement.addOuterJoinExpressionsHolders(this, mappingExpression, additionalExpressionCriteriaMap(), null));
  if ((getDescriptor() != null) && (getDescriptor().getHistoryPolicy() != null)) {
    Expression historyOnClause = getDescriptor().getHistoryPolicy().additionalHistoryExpression(this, this, 0); 
  setOuterJoinExpIndex(statement.addOuterJoinExpressionsHolders(null, null, additionalExpressionCriteriaMap(), mapping.getReferenceDescriptor()));

相关文章

微信公众号

最新文章

更多

QueryKeyExpression类方法