What I am looking for is a possibility to Join unmapped entities in
HQL resulting in an SQL  JOIN with user defined ON criteria.
In HQL the “join” will be transformed into a ON clause based on the
mapping of the property. As my entities have no relationship mappings
this doesn’t work for me.

What I need is something like

from Parent p
inner join p, Child c on p.Iid=c.FkIid
but this fails with “Path expected for join!”

Is there a bypass or other trick for this? Is there maybe a
possibility to define my own hql commands and inject them into the hql
processor?

Any help would be greatly appreciated!

Thank you

Stefan Landgraf

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to