[jboss-user] [EJB 3.0] - Re: EJB3 transaction propagation

zilbi do-not-reply at jboss.com
Wed Aug 13 17:18:10 EDT 2008


not sure but i think what happens is the the call you make for update() are not recognized by the container as ejb calls and that's why a new transaction is not opend.

think you need to get a ref to this ejb using the session context and invoke update using it. should look something like thatYourLocalSession localRef = context.getBusinessObject( YourLocalSession.class );
  | for...
  | {
  |     localRef .update();
  | } // end for

hope it helps,
zilbi

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170434



More information about the jboss-user mailing list