For EJB entities:

Use @EntityListener annotation with  @PrePersist, @PostPersist, @PreRemove
@PostRemove, @PreUpdate, @PostUpdate, @PostLoad


@Interceptors works fine for session bean and MDB. I'm not sure it is supposed 
to works for entity



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

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

Reply via email to