Using a set significantly improves Hibernate update performance