From bc10dd2efd0ab6bd196eecc51d0b31275709ec3d Mon Sep 17 00:00:00 2001 From: "A. Abram White" Date: Thu, 3 Aug 2006 21:48:37 +0000 Subject: [PATCH] Remove incorrect lifecycle callback invocation. git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@428538 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/openjpa/kernel/DetachedStateAttachStrategy.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateAttachStrategy.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateAttachStrategy.java index 9551d742c..72a059801 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateAttachStrategy.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateAttachStrategy.java @@ -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);