From 04d9bc40e4f5909e6820ec9d26fb7f32392e069d Mon Sep 17 00:00:00 2001 From: Maks Rafalko Date: Fri, 8 Dec 2017 09:33:41 +0300 Subject: [PATCH] Update validation-of-entities.rst --- docs/en/cookbook/validation-of-entities.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/cookbook/validation-of-entities.rst b/docs/en/cookbook/validation-of-entities.rst index d49daa84f..927d278a6 100644 --- a/docs/en/cookbook/validation-of-entities.rst +++ b/docs/en/cookbook/validation-of-entities.rst @@ -89,7 +89,7 @@ events for one method, this will happen before Beta 1 though. Now validation is performed whenever you call ``EntityManager#persist($order)`` or when you call ``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. Of course you can do any type of primitive checks, not null,