Does hibernate flush commit?



Does hibernate flush commit?..

Answer / Satish Kumar Yadav

No, Hibernate does not automatically flush or commit changes immediately. You can manually flush the session using the Session.flush() method. Committing a transaction is done through Transaction.commit().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is use of transaction in hibernate?

1 Answers  


What is the difference between unidirectional and bidirectional hibernate?

1 Answers  


Is jpa and hibernate same?

1 Answers  


What is composite key in hibernate?

1 Answers  


What is orm tool in hibernate?

1 Answers  


Explain hibernate architecture?

1 Answers  


Why sessionfactory is singleton in hibernate?

1 Answers  


What is difference between getcurrentsession () and opensession () in hibernate?

1 Answers  


How do we modify hibernate configuration file?

1 Answers  


What is orm mapping in hibernate?

1 Answers  


What is mappedby?

1 Answers  


What does fetchtype lazy mean?

1 Answers  


Categories