[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7182) Subselect throws Unexpected End of Subtree
Thom Hehl (JIRA)
noreply at atlassian.com
Fri Mar 16 20:53:49 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45999#comment-45999 ]
Thom Hehl commented on HHH-7182:
--------------------------------
What I'm really doing is doing subselects and returning an array of counts. I feel it's important that HQL support this.
> 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