Hi, I am new to hibernate, and I wish to get clarification regarding the Flushing operations in hibernate. for eg If i tried to update a table in an extended session, Will hibernate flush some of the changes to the database in the middle of transaction?(before completing the transaction)
If this is the case, when the data(data that has got flushed by hibernate) will be committed to the database ? whether at the time of committing the transaction or at the time when hibernate flushing the data to DB itself.
Clarify me please.
Please find the hibernate properties that i am using in cfg.xml
transaction.manager_lookup_class = org.hibernate.transaction.WebSphereExtendedJTATransactionLookup hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory hibernate.transaction.flush_before_completion=true hibernate.transaction.auto_close_session=true
Thanks in advance.
|