Question
NHibernate Session Flushing Timing Versus Transaction Commit
Rin Finch
0 reputation · 26 Mar 2024, 08:02 UTC
142.5K views0
NHibernate Session Flushing and Transaction Commit Integration
The goal is to confirm the precise timing of an NHibernate Session flush operation relative to the explicit transaction commit boundary.
The uncertainty lies in whether flushing occurs synchronously before the commit is finalized, or if it is deferred until the transaction boundary is definitively closed.
- Does NHibernate guarantee a flush prior to transaction commit completion?
- What is the documented behavior regarding pending changes at commit time for a specific NHibernate version?