javax.persistence.criteria.Root.joinSet()方法的使用及代码示例

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

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

Root.joinSet介绍

暂无

代码示例

代码示例来源:origin: org.omnifaces/omnipersistence

@Override
@SuppressWarnings("hiding")
public <X, Y> SetJoin<X, Y> joinSet(String attributeName) {
  return getWrapped().joinSet(attributeName);
}

代码示例来源:origin: org.omnifaces/omnipersistence

@Override
@SuppressWarnings("hiding")
public <X, Y> SetJoin<X, Y> joinSet(String attributeName, JoinType jt) {
  return getWrapped().joinSet(attributeName, jt);
}

代码示例来源:origin: FundRequest/platform

private Predicate createTechnologyPredicate(final CriteriaBuilder criteriaBuilder, final Root<Request> root, final String technology) {
    final SetJoin<Object, Object> technologiesJoin = root.joinSet("technologies", INNER);
    return criteriaBuilder.equal(criteriaBuilder.lower(technologiesJoin.get("technology")), technology);
  }
}

代码示例来源:origin: JoleneOL/market-manage

CriteriaQuery<StockInfo> cq = cb.createQuery(StockInfo.class);
Root<StockSettlement> root = cq.from(StockSettlement.class);
SetJoin<StockSettlement, StockInfo> stockInfoSetJoin = root.joinSet("usableStock");

代码示例来源:origin: liimaorg/liima

SetJoin<ResourceEntity, ConsumedResourceRelationEntity> relation = appServer.joinSet("consumedMasterRelations", JoinType.LEFT);
Join<ConsumedResourceRelationEntity, ResourceEntity> app = relation.join("slaveResource", JoinType.LEFT);

相关文章