Is it correct that even though the parameter is not in the Map, it's value is set by the setProperties method to null? Example Query query = session.createQuery("SELECT user FROM User user WHERE user.id IN (:ids) AND user.status IN (:statuses)"); query.setParameterList("statuses",statusList); map.put("ids", idList); query.setProperties(map); Before the fix this worked without problems, but now the Map sets the value of "statuses" to NULL. I don't think this is desired behavior as the Map should be checked by contains() method before setting the value. Thanks |