But is it not possible to use something equivalent to a left outer join if the entities don't contain each other as a set?
This is my Category:
and this is my Organization:
Similar to the linking in Category I have linking for 2-3 other entities.
I actually needed to retrieve them using an HQL query equivalent to this in MYSQL:
The code you posted is equivalent to a basic join, right? and doesn't retrieve the data I need...
Edvins Reisons wrote:To use the join syntax, you need a relationship defined (I guess it is a many-to-one in this case) in the mappings. Without it, one can use a query like this: