You should be able to inject the context of your EJB depending upon the type of bean:
@Resource
| private transient SessionContext ctx;
- or -
@Resource
| private transient EntityContext ctx;
...and call ctx.setRollbackOnly() as appropriate.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969082#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...