1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Update validation-of-entities.rst

This commit is contained in:
Maks Rafalko 2017-12-08 09:33:41 +03:00 committed by GitHub
parent c5283eea87
commit 04d9bc40e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ events for one method, this will happen before Beta 1 though.
Now validation is performed whenever you call Now validation is performed whenever you call
``EntityManager#persist($order)`` or when you call ``EntityManager#persist($order)`` or when you call
``EntityManager#flush()`` and an order is about to be updated. Any ``EntityManager#flush()`` and an order is about to be updated. Any
Exception that happens in the lifecycle callbacks will be catched by Exception that happens in the lifecycle callbacks will be caught by
the EntityManager and the current transaction is rolled back. the EntityManager and the current transaction is rolled back.
Of course you can do any type of primitive checks, not null, Of course you can do any type of primitive checks, not null,