Does entitymanager flush commit?



Does entitymanager flush commit?..

Answer / Ankur Sudhanshu

No, EntityManager does not automatically flush or commit. Flushing and committing must be explicitly called using the EntityManager's flush() and transaction.commit() methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

How can we map the classes as immutable?

1 Answers  


How to implement database relationship in hibernate?

1 Answers  


What are the interfaces in hibernate?

1 Answers  


What is inversejoincolumns?

1 Answers  


What are native queries?

1 Answers  


How does hibernate distinguish between transient (i.e. Newly instantiated) and detached objects?

1 Answers  


What is detached in hibernate?

1 Answers  


What is fetchtype lazy in hibernate?

1 Answers  


What are derived properties?

1 Answers  


What are the benefits of named sql query?

1 Answers  


What is ORM metadata?

1 Answers  


What is a pure relational orm?

1 Answers  


Categories