• +91 9723535972
  • info@interviewmaterial.com

Hibernate Interview Questions and Answers

Question - Difference between save() and saveOrUpdate() method of Hibernate?

Answer -

Even though save() and saveOrUpdate() method is used to store an object into Database, the key difference between them is that save() can only Insert records but saveOrUpdate() can either Insert or Update records.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners