File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -558,8 +558,7 @@ Take a look at the previous example in more detail:
558
558
.. note ::
559
559
560
560
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 `_.
563
562
564
563
Whether creating or updating objects, the workflow is always the same. In
565
564
the next section, you'll see how Doctrine is smart enough to automatically
@@ -877,3 +876,4 @@ Learn more
877
876
.. _`DoctrineFixturesBundle` : https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
878
877
.. _`FrameworkExtraBundle documentation` : https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
879
878
.. _`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
You can’t perform that action at this time.
0 commit comments