Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [EJB 3.0] - Interceptor without transaction
 participation

scott.stark@jboss.org

2007-06-18


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

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055197
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.