Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added information how to disable nested transactions.

  • Loading branch information...
commit 5efa1742fa646a9c2f982107eeb97113b5cea5b8 1 parent 32ae2ea
@jrbasso authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 en/models/transactions.rst
View
6 en/models/transactions.rst
@@ -50,6 +50,12 @@ the number of `commit` and `rollback` match with begin's.
}
$dataSource->commit();
+This will perform the nested transaction if your database supports it. The methods
+will always return true when in transaction mode and the nested is not supported.
+
+If you want to use multiple begin's but not use the nested transaction from database,
+disable it using ``$dataSource->nestedTransaction = false;``. It will use only
+the global transaction.
.. meta::
:title lang=en: Transactions
Please sign in to comment.
Something went wrong with that request. Please try again.