I've got two entities: Category and Product with one-to-many relation.
How can I order categories by number of their products, with price greater than 100? Something like (this doesn't work):
query.from(category).leftJoin(category.products,
product).orderBy(product.price.gt(100).count().desc()).list(category)