Modifying other objects in PRE_UPDATE callback

2015-09-15 Thread John Huss
I've noticed that during the PRE_UPDATE lifecycle callback, if you update a different object the PRE_UPDATE callback is not invoked for that object before the commit occurs. It would be preferable to have the callback still execute before the commit. For example, I am using PRE_UPDATE to conditi

Re: Modifying other objects in PRE_UPDATE callback

2015-09-16 Thread Andrus Adamchik
Hi John, We currently call PRE_PERSIST and PRE_UPDATE in a bad place - the context has already started the commit, analyzed the changes and passed them down to DataDomain. So there's a big difference with these 2 as compared to say POST_ADD and PRE_REMOVE. And I am not even sure what happens if