[hibernate-dev] Empty IN list support

Bregler, Jonathan jonathan.bregler at sap.com
Fri Feb 16 04:21:36 EST 2018


HANA doesn't support empty IN lists, so executing an HQL query that gets transformed into a SQL query with an empty IN list results in a SQL parser error on the database side. I noticed that the Dialect class already defines a method called "supportsEmptyInList()" which according to the Javadoc returns "True if empty in lists are supported; false otherwise". However, this method doesn't seem to be used anywhere in the Hibernate code. Is there a reason for that?


More information about the hibernate-dev mailing list