From b14de70d7b37dbcb6c67fec53af2c524c4e2b122 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Mon, 21 Mar 2011 09:01:04 -0500 Subject: [PATCH] HHH-6028 - Remove o.h.classic stuff --- .../java/org/hibernate/ejb/event/EJB3DeleteEventListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3DeleteEventListener.java b/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3DeleteEventListener.java index 05953195de..ae5675f30f 100644 --- a/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3DeleteEventListener.java +++ b/hibernate-entitymanager/src/main/java/org/hibernate/ejb/event/EJB3DeleteEventListener.java @@ -48,8 +48,9 @@ public class EJB3DeleteEventListener extends DefaultDeleteEventListener implemen } @Override - protected void invokeDeleteLifecycle(EventSource session, Object entity, EntityPersister persister) { + protected boolean invokeDeleteLifecycle(EventSource session, Object entity, EntityPersister persister) { callbackHandler.preRemove( entity ); + return super.invokeDeleteLifecycle( session, entity, persister ); } @Override