0 Replies Latest reply on May 22, 2010 8:23 AM by mvlach

    Transaction handling

    mvlach

      Hi,


      i would like to know the concept of the exception handling. Let's suppose I have a EJB3 service with one method and this method is marked by REQUIRESNEW.


      When I throw an exception I thinks Seam mark the transaction rollbackOnly. I would like to retry the EBJ service call. For example the OptimisticLockingException - when occurs I would like to create start new transaction and try to persist again.


      Thanks.


      Mila