From ab01e9bdb55241ff11ca8d45de91f0d3f7f797a3 Mon Sep 17 00:00:00 2001 From: Boris Nikolaus Betzholz Date: Mon, 23 Jul 2018 12:58:11 +0200 Subject: [PATCH] Problem with transactions --- doctrine/pdo_session_storage.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doctrine/pdo_session_storage.rst b/doctrine/pdo_session_storage.rst index d023a127cc6..dbf65f1874e 100644 --- a/doctrine/pdo_session_storage.rst +++ b/doctrine/pdo_session_storage.rst @@ -29,6 +29,8 @@ To use it, first register a new handler service: # If you're using Doctrine & want to re-use that connection, then: # comment-out the above 2 lines and uncomment the line below # - !service { class: PDO, factory: 'database_connection:getWrappedConnection' } + # sometimes you get transaction problems (ex. after login) then add + # - { lock_mode: 1 } .. code-block:: xml