[hibernate-users] [newbie] QuerySyntaxException: Path expected for join: non-mapped joins not possible?
Timo Nentwig
tnentwig at verisign.com
Tue Jan 16 09:30:16 EST 2007
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 :).
More information about the hibernate-users
mailing list