I am new to Hibernate and went through the Hibernate tutorial last week. I have a few doubts about methods save, update, saveOrUpdate and merge in the Session class. These a
update() is for the detached objects , and for transient objects . if invoke on persistent objects it will throw a NonUniqueObjectException, and this will be addressed by merge().