[jboss-user] [EJB 3.0] - @TransactionAttribute problem with local invocation

MirekSz do-not-reply at jboss.com
Mon Jul 20 09:39:25 EDT 2009


Hi,
I have a class

  | public class PersonService{
  | 
  |    @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)  
  |    public void savePerson(){
  |    ...
  |    }
  | 
  |    public void saveAllPerson(){
  |      while(true){
  |         savePerson();
  |      }
  |   }
  | }
  | 
When I invoke saveAllPerson() the transaction attribute is ignored, how to resolve it

Best regards
Mirek

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

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



More information about the jboss-user mailing list