[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2404) Join table should allow to join on multiple columns.

Daljeet Singh Sarna (JIRA) noreply at atlassian.com
Fri Feb 2 11:17:40 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2404?page=comments#action_25979 ] 

Daljeet Singh Sarna commented on HHH-2404:
------------------------------------------

Just want to mention that I want to do this using <join> tag

> Join table should allow to join on multiple columns.
> ----------------------------------------------------
>
>          Key: HHH-2404
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2404
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Reporter: Daljeet Singh Sarna

>
>
> Hibernate should allow to perform join on multiple columns. HHH-1829 is fixing issue related to join with column other than key. but if we want to join with more than one column, what should we do.
> for eg. 
> select * from table1 t1 left outer join table2 t2 on (t1.column1=t2.column3 and t1.column2=t2.column1)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list