本文整理了Java中javax.persistence.criteria.Root.joinSet
方法的一些代码示例,展示了Root.joinSet
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Root.joinSet
方法的具体详情如下:
包路径:javax.persistence.criteria.Root
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!