Hibernate version:
3.0
Name and version of the database you are using:
Oracle
Hallo,
das Joinen wirft bei mir einige Fragen auf. Ich moechte zwei Tabelle/Objekte *ohne* hard-coded mapping joinen. Das hier geht nicht:
Code:
from table1 t1 inner join table2 t2 where t1.id=t2.id and t1.id=foo
-> QuerySyntaxException: Path expected for join.
Aber das hier funktioniert:
Code:
from table1 t1, table2 t2 where t1.id=t2.id and t1.id=foo
Mir ist unklar, wieso das so ist. Die ganz grosse Frage, die sich jetzt stellt, lautet: wie funktioniert ein outer join?
Danke fuer Ratschlaege
Timo