Make NotificationEventListener work in Hibernate 4