How can i join fetch an Entity and use it in the where clause.
Fetch<Transaction,Customer> customer =transaction.fetch(Transaction_.customer,JoinType.LEFT);
cq.where(cb.equal(customer.get(Customer_.name), "xxx"));
I get the following error: The method get(SingularAttribute) is undefined for the type Fetch
Is there any workaround for this?