我不知道如何使用JPQL,但你可以使用Criteria API处理它,至少我很确定我们可以用Hibernate条件 ... Check this: JPA 2.0, Criteria API, Subqueries, In Expressions.
確定! 回上一頁