3 Replies Latest reply on Jun 19, 2007 11:12 AM by wayne baylor

    Interceptor without transaction participation

    Carsten Rudat Novice

      Hi all,

      I'd like to have some kind of interceptor around a sessionbean-method that clears (set to null) entity properties. I need this feature to have some NO_READ access control on property level.

      My first approach was to write a simple ejb-interceptor but it takes part in the sessionbean-method transaction and so the entity's properties was set to null on the database, too.

      Is there a way to do such datastructure manipulation with my entity beans without having the database changed? Do I have to write an JBoss interceptor?

      Thanks for help.

      Carsten