mirror of https://github.com/apache/openjpa.git
OPENJPA-913
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a1f6b1550f
commit
1d47f14547
|
@ -778,8 +778,15 @@ public class BrokerImpl
|
|||
int eventType) {
|
||||
if (_lifeEventManager == null)
|
||||
return false;
|
||||
handleCallbackExceptions(_lifeEventManager.fireEvent(src, related,
|
||||
meta, eventType), _lifeCallbackMode);
|
||||
|
||||
lock();
|
||||
Exception[] exs;
|
||||
try {
|
||||
exs = _lifeEventManager.fireEvent(src, related, meta, eventType);
|
||||
} finally {
|
||||
unlock();
|
||||
}
|
||||
handleCallbackExceptions(exs, _lifeCallbackMode);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue