from(Bookings.class); subquery.select(subRoot); Predicate p = cb.equal(subRoot.get(Bookings_.fkCarId),poRoot); subquery.where(p); TypedQuery<Cars> typedQuery = ...
確定! 回上一頁