[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7182) Subselect throws Unexpected End of Subtree

Amir Pashazadeh (JIRA) noreply at atlassian.com
Fri Mar 16 19:09:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45998#comment-45998 ] 

Amir Pashazadeh commented on HHH-7182:
--------------------------------------

I'm not sure whether HQL should support any possible SQL or not. This is not my case, but there were some other SQL queries which I wished HQL would support too.


> Subselect throws Unexpected End of Subtree
> ------------------------------------------
>
>                 Key: HHH-7182
>                 URL: https://hibernate.onjira.com/browse/HHH-7182
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: query-hql
>    Affects Versions: 3.6.0
>         Environment: Running against HSQLDB 2.0.1-rc3
>            Reporter: Thom Hehl
>              Labels: HQL
>
> I feel the following queries, which are valid SQL should be valid HQL.
> SELECT (SELECT 1)
> SELECT (SELECT 1), (SELECT 2)
> But instead they throw:
> 3157 [main] ERROR org.hibernate.hql.PARSER - <AST>:0:0: unexpected end of subtree
> Thanks.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list