2 Replies Latest reply on Jul 21, 2009 8:38 AM by Mirek Sz

    @TransactionAttribute problem with local invocation

    Mirek Sz Newbie

      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