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:
A. Abram White 2006-08-03 21:48:37 +00:00
parent 0167f87b32
commit bc10dd2efd

View File

@ -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);