From 06f256b4103cd2e3013c59bab9e6687588c6afdd Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Tue, 13 Jan 2015 20:45:00 +0100 Subject: [PATCH] #385 #1181 DDC-3385 - documenting `onClassMetadataNotFound` event --- docs/en/reference/events.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/reference/events.rst b/docs/en/reference/events.rst index 65acd2466..6ec2f092d 100644 --- a/docs/en/reference/events.rst +++ b/docs/en/reference/events.rst @@ -173,6 +173,10 @@ the life-time of their registered entities. - loadClassMetadata - The loadClassMetadata event occurs after the mapping metadata for a class has been loaded from a mapping source (annotations/xml/yaml). This event is not a lifecycle callback. +- onClassMetadataNotFound - Loading class metadata for a particular + requested class name failed. Manipulating the given event args instance + allows providing fallback metadata even when no actual metadata exists + or could be found. This event is not a lifecycle callback. - preFlush - The preFlush event occurs at the very beginning of a flush operation. This event is not a lifecycle callback. - onFlush - The onFlush event occurs after the change-sets of all