Timo Nentwig wrote:
When I try to do this in HQL
from table1 t1 inner join table2 t2 where t1.id=t2.id;
it throws an QuerySyntaxException: Path expected for join.
Hmm, obviously it's possible to join by altering the syntax slightly
from table1 t1, table2 t2 where t1.id=t2.id and t1.id=:foo;
I'm somewhat confused now (but lucky :).