We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7afda71 commit d187b4fCopy full SHA for d187b4f
src/NHibernate/Event/Default/AbstractFlushingEventListener.cs
@@ -235,6 +235,7 @@ protected virtual void PerformExecutions(IEventSource session)
235
try
236
{
237
session.ConnectionManager.FlushBeginning();
238
+ session.PersistenceContext.Flushing = true;
239
// we need to lock the collection caches before
240
// executing entity inserts/updates in order to
241
// account for bidi associations
@@ -251,6 +252,7 @@ protected virtual void PerformExecutions(IEventSource session)
251
252
}
253
finally
254
255
+ session.PersistenceContext.Flushing = false;
256
session.ConnectionManager.FlushEnding();
257
258
0 commit comments