1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Merge pull request #573 from EvanK/patch-1

[Documentation] Noted prePersist event only triggers on first persist
This commit is contained in:
Guilherme Blanco 2013-02-07 18:27:05 -08:00
commit 3b0a242ab3

View File

@ -148,7 +148,8 @@ the life-time of their registered entities.
delete operations. It is not called for a DQL DELETE statement.
- prePersist - The prePersist event occurs for a given entity
before the respective EntityManager persist operation for that
entity is executed.
entity is executed. It should be noted that this event is only triggered on
*initial* persist of an entity
- postPersist - The postPersist event occurs for an entity after
the entity has been made persistent. It will be invoked after the
database insert operations. Generated primary key values are