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