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#3969082

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

Reply via email to