Is there a way (and if there is, how? ;) to create a query in Hibernate (HQL, JPQL) that does the same to
select d.name, d.breed, f.amout
from dog as d, stocks.food as f
where f.breed = d.breed
That is, there is a user/schema (Animals) and a different one (Stocks) which I would like to join. Is there a way of doing this with HQL?
Thanks.