doc/book/en/devrepo/devcore/dbapi.rst
branchstable
changeset 6361 843684a50e48
parent 5400 b7ab099b128a
child 6385 9f91d09ee5fa
--- a/doc/book/en/devrepo/devcore/dbapi.rst	Wed Sep 29 12:17:26 2010 +0200
+++ b/doc/book/en/devrepo/devcore/dbapi.rst	Wed Sep 29 12:18:06 2010 +0200
@@ -22,9 +22,12 @@
 
 .. note::
 
-  While executing update queries (SET, INSERT, DELETE), if a query generates
-  an error related to security, a rollback is automatically done on the current
-  transaction.
+  If a query generates an error related to security (:exc:`Unauthorized`) or to
+  integrity (:exc:`ValidationError`), a rollback is automatically done on the
+  current transaction.
+
+  Also, a rollback is done if an error occurs during commit.
+
 
 Executing RQL queries from a view or a hook
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~