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