File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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:
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
564563Whether creating or updating objects, the workflow is always the same. In
565564the 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
You can’t perform that action at this time.
0 commit comments