Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
general knowledge
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
beans
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Main difference between Save and Saveorupdate in hibernate?
Question Posted on 20 Dec 2020

Home >> 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



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


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






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |