The fix in the pull request causes `in ()` to be included in the generated SQL.

I may well be reading it incorrectly, but as I understand the ISO SQL 2003 grammar as specified at http://savage.net.au/SQL/sql-2003-2.bnf then `in ()` is not valid - the first element of the list is non-optional. Also, at least Postgres, MySQL and Oracle do not support it.

I am therefore hoping that the fix might be amended to make Hibernate generate `x in (null)` (which I believe will always evaluate to false) instead of `x in ()`.

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