You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #6894 Explain what happens if flush() fails (ThomasLandauer)
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()` fails
0 commit comments