crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Main difference between Save and Saveorupdate in hibernate?
Question Posted on 20 Dec 2020Home >> Java >> Hibernate >> Main difference between Save and Saveorupdate in hibernate?

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.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

What are different types of object mapping

Which is the most common methods of Hibernate configuration is

Main difference between Save and Saveorupdate in hibernate?

File extension for hibernate mapping file and configuration file?

Name the types of inheritance in Hibernate






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap