如何通过获取列进行排序?
我的谓词:
CriteriaQuery<Connection> cquery = (CriteriaQuery<Connection>) query;
Fetch<Connection, ConnectionResearch> researches = root.fetch(Connection_.researches, JoinType.INNER);
cquery.orderBy(cb.asc( /* researches.get(ConnectionResearch_.pullforce) */ ));
如何通过ConnectionResearch.pullforce获取列来设置选择查询顺序?
答案 0 :(得分:1)
解决方案:
MyWebPage