Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
What is the difference between save() and persist() method in Hibernate?
Home
Technology
What is the difference between save() and...
asked
Feb 4, 2021
in
Technology
by
JackTerrance
What is the difference between save() and persist() method in Hibernate?
interview-question-answer
technology-questions-answers
1
Answer
0
votes
answered
Feb 4, 2021
by
JackTerrance
The main difference between the save() and persist() method is that, save returns a Serializable object while the return type of the persist() method is void, so it doesn't return anything.
Related questions
0
votes
Q: What is Difference between save(), saveOrUpdate() and persist() in Hibernate Session?
What is Difference between save(), saveOrUpdate() and persist() in Hibernate Session?...
asked
Feb 4, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Difference between get() vs load() method in Hibernate?
Difference between get() vs load() method in Hibernate?...
asked
Feb 4, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Hibernate: One To Many Relation on cascade save but doesn't delete
I have a problem with Hibernate. In Short: How to configure a ManyToMany association with Hibernate when the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Feb 21, 2022
in
Education
by
JackTerrance
javahibernateannotationscascade
0
votes
Q: What is the difference between Hibernate and EJB 3? Do not you think EJB 3 is just a clone of Hibernate?
What is the difference between Hibernate and EJB 3? Do not you think EJB 3 is just a clone of Hibernate?...
asked
Jun 5, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between the first and second level cache in Hibernate?
What is the difference between the first and second level cache in Hibernate?...
asked
Feb 4, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
+1
vote
Q: What is the method to save data in a stack data structure type?
What is the method to save data in a stack data structure type?...
asked
Nov 8, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Which is the method used to save chart as a ps file?
Which is the method used to save chart as a ps file? (a) ps() (b) postscript() (c) ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Oct 22, 2021
in
Education
by
JackTerrance
essential-javascript-interview-questions
javascript-interview-questions
javascript-interview-questions-and-answers
javascript-questions-for-practice
java-script-mcq-quiz
javascript-quiz-
javascript-multiple-choice-questions
javascript-mcq-with-answers
0
votes
Q: How To Persist Root Device Volume In Amazon Ec2 Instance ?
How To Persist Root Device Volume In Amazon Ec2 Instance ?...
asked
Mar 12, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Castle Automatic Transaction Management Facility persist issues
Regarding the Castle Automatic Transaction Management Facility; I'm having some difficulties getting operations to ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Feb 24, 2022
in
Education
by
JackTerrance
nhibernatetransactionsaopcastle
0
votes
Q: jqGrid multiselect, checked-box persist when move to the next page
If you see jqGrid demo : http://www.trirand.com/blog/jqgrid/jqgrid.html Section : Advanced --> ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Feb 11, 2022
in
Education
by
JackTerrance
interview-question-answer
0
votes
Q: jqGrid multiselect, checked-box persist when move to the next page
If you see jqGrid demo : http://www.trirand.com/blog/jqgrid/jqgrid.html Section : Advanced --> ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Feb 10, 2022
in
Education
by
JackTerrance
interview-question-answer
0
votes
Q: Should I persist images on EBS or S3?
I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing MySql ... you guide. Thanks Select the correct answer from above options...
asked
Feb 8, 2022
in
Education
by
JackTerrance
amazon-ec2
amazon-s3
amazon-web-services
0
votes
Q: Should I persist images on EBS or S3?
I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing MySql ... you guide. Thanks Select the correct answer from above options...
asked
Feb 5, 2022
in
Education
by
JackTerrance
amazon-ec2
amazon-s3
amazon-web-services
0
votes
Q: What is the difference between a constructor and a method?
What is the difference between a constructor and a method?...
asked
Feb 9, 2023
in
Technology
by
JackTerrance
java-interview-questions-answers
0
votes
Q: What is the difference between method overloading and method overriding?
What is the difference between method overloading and method overriding?...
asked
Feb 9, 2023
in
Technology
by
JackTerrance
java-interview-questions-answers
...