This should work now from work done on HHH-1168. Not saying that the code in org.hibernate.jpa.internal.QueryImpl#getSingleResult should remain as it is. I also have never really understood why that was added, especially before when attempting to do this lead to SQLExceptions.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
This should work now from work done on
HHH-1168. Not saying that the code in org.hibernate.jpa.internal.QueryImpl#getSingleResult should remain as it is. I also have never really understood why that was added, especially before when attempting to do this lead to SQLExceptions.