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!
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!