mirror of
https://github.com/apache/openjpa.git
synced 2025-02-24 11:37:21 +00:00
Remove incorrect lifecycle callback invocation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0167f87b32
commit
bc10dd2efd
@ -128,10 +128,6 @@ class DetachedStateAttachStrategy
|
||||
} else
|
||||
sm = manager.assertManaged(into);
|
||||
|
||||
// invoke any preAttach on the detached instance
|
||||
broker.fireLifecycleEvent(pc, null, meta,
|
||||
LifecycleEvent.BEFORE_DETACH);
|
||||
|
||||
// mark that we attached the instance *before* we
|
||||
// fill in values to avoid endless recursion
|
||||
manager.setAttachedCopy(pc, into);
|
||||
|
Loading…
x
Reference in New Issue
Block a user