From fc290404e1ee97993c40bcf9e876af9780011497 Mon Sep 17 00:00:00 2001 From: "Jonathan H. Wage" Date: Fri, 23 Apr 2010 12:16:31 -0400 Subject: [PATCH] Changing note to caution --- manual/en/events.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/en/events.txt b/manual/en/events.txt index f8f848563..254a43427 100644 --- a/manual/en/events.txt +++ b/manual/en/events.txt @@ -105,7 +105,7 @@ The EntityManager and UnitOfWork trigger a bunch of events during the life-time * loadClassMetadata - The loadClassMetadata event occurs after the mapping metadata for a class has been loaded from a mapping source (annotations/xml/yaml). * onFlush - The onFlush event occours after the change-sets of all managed entities are computed. This event is not a lifecycle callback. -> **NOTE** +> **CAUTION** > Note that the postLoad event occurs for an entity before any associations have been > initialized. Therefore it is not safe to access associations in a postLoad callback > or event handler.