The class looks like this:

public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {
        
        
        public void onPostDelete(PostDeleteEvent event) {
                System.out.println("Post delete event");
        }    

        public void onPostInsert(final PostInsertEvent event) {
                System.out.println("Post insert event");
        }

        public void onPostUpdate(final PostUpdateEvent event) {
                System.out.println("Post update event");
        }

        public void initialize(final Configuration config) {
        }

}


persistence.xml values:







Problem is that System.out messages are coming on inserting a row in db and 
updating a row in db. But on a row deletion System.out message is not coming.

jboss-5.0.0.GA is used.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266228#4266228

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266228
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to