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
Merge Does Following
Merge has intelligence. It has lot of pre-checks before it go actual merge(if required)
where as session.update
session.merge is expensive than update