| Main difference between Save and Saveorupdate in hibernate?
(1)Save():-In Hibernate this methods is basically used to store an object in the database. And it only insert the record if it is not there if yes then it will do nothing.
(2)Saveorupdate():-In Hibernate this method is used to update the object using identifier. If identifier is missing then methods calls is save() other wise it will do the update method. | | |