Is there a limit to the number of joins permitted in a JPA/Hibernate query?
Since Hibernate doesn\'t automatically join, I have to explicitly specify the joins in my
Are you aliasing all of your inner joins? And using those aliases? I have seen some really strange behavior with Hibernate when you try and use implicit aliasing in the SELECT clause to do stuff like this (extremely simplified example):
select p.address.state from person p
But if you explicitly declare all your aliases it works just fine. Like this:
select s from person p join p.address a join a.state s
... or even this:
select s from person p join p.address.state s