When a Set contains a null element, Hibernate should not insert the null value into the collection table. Currently, Hibernate is inserting null values for Set collections only. This does not happen for lists, maps, bags, or idbags.