HHH-7412 - JDBCTransactionFactory.getDefaultReleaseMode() returns incorrect ConnectionReleaseMode
Document that JDBC transactions use ON_CLOSE connection release mode
This commit is contained in:
parent
0d5c35cdbc
commit
e1fa1647fb
|
@ -1090,7 +1090,7 @@ session.close();]]></programlisting>
|
|||
<literal>auto</literal> (the default): this choice delegates to the release mode
|
||||
returned by the <literal>org.hibernate.transaction.TransactionFactory.getDefaultReleaseMode()</literal>
|
||||
method. For JTATransactionFactory, this returns ConnectionReleaseMode.AFTER_STATEMENT; for
|
||||
JDBCTransactionFactory, this returns ConnectionReleaseMode.AFTER_TRANSACTION. Do not
|
||||
JDBCTransactionFactory, this returns ConnectionReleaseMode.ON_CLOSE. Do not
|
||||
change this default behavior as failures due to the value of this setting
|
||||
tend to indicate bugs and/or invalid assumptions in user code.
|
||||
</para>
|
||||
|
|
Loading…
Reference in New Issue