[DDC-3033] Clarify restrictions in events.
This commit is contained in:
parent
396337bd0d
commit
ecc2857e2d
@ -518,10 +518,8 @@ The following restrictions apply to ``prePersist``:
|
||||
sequences the ID value will *NOT* be available within any
|
||||
PrePersist events.
|
||||
- Doctrine will not recognize changes made to relations in a prePersist
|
||||
event called by "reachability" through a cascade persist unless you
|
||||
use the internal ``UnitOfWork`` API. We do not recommend such
|
||||
operations in the persistence by reachability context, so do
|
||||
this at your own risk and possibly supported by unit-tests.
|
||||
event. This includes modifications to
|
||||
collections such as additions, removals or replacement.
|
||||
|
||||
preRemove
|
||||
~~~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user