[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-1050) HQL Unions

Gopal Rathore (JIRA) noreply at atlassian.com
Mon Oct 8 00:42:41 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal Rathore updated HHH-1050:
-------------------------------

    Attachment: probunion.txt

I am doing a union query like
select id from A union select id from B

I made show_sql = "true"

the sql, I got is :
select id from A.

Is There a solution for this problem.

Thanks,
Gopal

> HQL Unions
> ----------
>
>                 Key: HHH-1050
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1050
>             Project: Hibernate3
>          Issue Type: New Feature
>          Components: query-hql
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: antlr-rework
>
>         Attachments: probunion.txt
>
>
> Add the ability to define unions in HQL.  Support will be initially limited to only:
> 1) scalar queries : select id from Animal union select id from Car
> 2) the same entity : from Animal where ... union from Animal where ...
> Support both UNION and UNION ALL

-- 
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