[
https://hibernate.onjira.com/browse/HHH-7182?page=com.atlassian.jira.plug...
]
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