Using a query like "FROM BEntity b WHERE b.a IN :coll" gives this error: could not prepare statement; SQL [select bentity0_.id as id1_1_, bentity0_.desc as desc2_1_ from bentity bentity0_ where bentity0_.id in ()]; nested exception is org.hibernate.exception.SQLGrammarException: could not prepare statement I expect an empty set as result instead |