Showing posts with label update. Show all posts
Showing posts with label update. Show all posts

Thursday, 19 January 2017

What is the difference between and merge and update?

If you have an attached object you can use update. If you have a detached object then use merge which first attaches the object to the session then will do an update. We can update the object in the session only.