Submit a Blog
Member - { Blog Details }

hero image

blog address: http://findnerd.com/list/view/Difference-between-update-and-merge-in-Hibernate/4497/

keywords:

member since: Jul 31, 2015 | Viewed: 14

Difference between update() and merge() in Hibernate

Category: Computers

In this article we will show you how update() is different from the merge() method. Difference between update() and merge() is as follows: update() and merge() both methods are used to update the db row if it already exist. But if object does not exist in db already then the update() method will throw the exception while merge() will create the new entry in db for that object. For more visit the full blog At Findnerd.



{ More Related Blogs }