Nick Upton commented on Bug HHH-2045

I still see this "unexpected end of subtree" error in Hibernate 4.1 when running a query with the following: setParameterList("list", emptyList) and using the "... in (:list) ..." pattern in HQL. SQL handles the "... in() ..." properly, but Hibernate can't parse it.

Is there a workaround besides conditionally adding the "... in(:list) ..." string to the query if the list is not empty? I would love to see a fix on this issue that was raised almost 6 years ago!

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