Commit bb12a80
committed
minor #6894 Explain what happens if
This PR was merged into the 2.7 branch.
Discussion
----------
Explain what happens if `flush()` fails
It should be mentioned _somewhere_ in this chapter, how to verify that the entity has really been persisted. What's the best practice here? try...catch? Or (for INSERT) check if $entity->getId() does exist? => Please expand on that.
Also, you could list all possible types of exceptions explicitly.
Commits
-------
460b74a Integrated improvement by javiereguiluz
f3b07bf Explain what happens if `flush()` failsflush() fails (ThomasLandauer)1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
558 | 564 | | |
559 | 565 | | |
560 | 566 | | |
| |||
0 commit comments