Dynamic Update & Optimizing Hibernate
Hibernate has a cool annotation where it would only update or insert elements that are not null.
You can use the following properties in the Hibernate Entity annotation -
@org.hibernate.annotations.Entity(dynamicUpdate=true, dynamicInsert=true)
Dynamic updates/inserts should significantly speed up your system.