Skip to content

Commit e444856

Browse files
Adjust the doc about flush on commit (#3475)
1 parent 6fc008a commit e444856

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/reference/modules/manipulating_data.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,11 @@ sess.Lock(pk, LockMode.Upgrade);]]></programlisting>
838838
It is possible to change the default behavior so that flush occurs less frequently.
839839
The <literal>FlushMode</literal> class defines three different modes:
840840
only flush at commit time (and only when the NHibernate <literal>ITransaction</literal>
841-
API is used, or inside a transaction scope), flush automatically using the explained
842-
routine (will only work inside an explicit NHibernate <literal>ITransaction</literal> or
843-
inside a transaction scope), or never flush unless
841+
API is used, or inside a transaction scope with a legacy option enabled - see
842+
<xref linkend="transactions-scopes"/>), flush automatically using the explained
843+
routine (will only work inside an explicit NHibernate <literal>ITransaction</literal>, or
844+
inside a transaction scope with limitations for flushes on commit - see
845+
<xref linkend="transactions-scopes"/>), or never flush unless
844846
<literal>Flush()</literal> is called explicitly. The last mode is useful for long
845847
running units of work, where an ISession is kept open and disconnected for a long time
846848
(see <xref linkend="transactions-optimistic" />).

0 commit comments

Comments
 (0)