[hibernate-dev] How join for two arbitrary tables?

ManiKanta G manikanta.gade at sifycorp.com
Fri Sep 5 08:15:44 EDT 2008


Hi,

How to perform outer join (outer left, outer right) two independent 
arbitrary tables (have no relation between them) in HQL? When I tried, I 
m getting 'path expected' exception.

All the examples I see have tables with relation table1 left join 
table1.table2.

Is there any solution for this apart from native SQL?

Regards,
ManiKanta G




********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin at sifycorp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20080905/e1a3a19d/attachment.html 


More information about the hibernate-dev mailing list