0 votes
in Hibernate by
Differentiate between save() and saveOrUpdate() methods in hibernate Session.

1 Answer

0 votes
by

The save() method is used to persist a new object in the database. In contrast, the saveOrUpdate() method is used to continue a new object or update an existing object in the database. 

...