What does hibernate merge do?



What does hibernate merge do?..

Answer / Chandra Bhushan Singh

The Hibernate merge operation takes a detached instance (an instance that was loaded and modified outside of the session) and updates it in the database. If the instance is already persistent, it will be updated; if not, it will be saved.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is @embeddedid?

1 Answers  


What does hibernate.properties file consist of?

1 Answers  


Why do we use hibernate framework?

1 Answers  


What is Java Persistence API (JPA)?

1 Answers  


What are the advantages of Hibernate over JDBC?

1 Answers  


Why do we need transactions in hibernate?

1 Answers  


What is hibernate 2nd level cache?

1 Answers  


How many strategies are there in hibernate inheritance?

1 Answers  


Can I use jpa without hibernate?

1 Answers  


Why is hibernate used in java?

1 Answers  


What is bidirectional flow?

1 Answers  


What is difference between hibernate and jdbc?

1 Answers  


Categories