8000 [#6894] Adding link to Doctrine · a-ast/symfony-docs@90d8ff4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 90d8ff4

Browse files
committed
[symfony#6894] Adding link to Doctrine
1 parent bb12a80 commit 90d8ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,7 @@ Take a look at the previous example in more detail:
558558
.. note::
559559

560560
If the ``flush()`` call fails, a ``Doctrine\ORM\ORMException`` exception
561-
is thrown, which you can catch by wrapping the ``flush()`` method in a
562-
``try...catch`` block.
561+
is thrown. See `Transactions and Concurrency`_.
563562

564563
Whether creating or updating objects, the workflow is always the same. In
565564
the next section, you'll see how Doctrine is smart enough to automatically
@@ -877,3 +876,4 @@ Learn more
877876
.. _`DoctrineFixturesBundle`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
878877
.. _`FrameworkExtraBundle documentation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
879878
.. _`newer utf8mb4 character set`: https://dev.mysql.com/doc/refman/5.5/en/charset-unicode-utf8mb4.html
879+
.. _`Transactions and Concurrency`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/transactions-and-concurrency.html

0 commit comments

Comments
 (0)
0