1 Reply Latest reply on Mar 17, 2003 3:49 AM by Volkan Yildiz

    transaction problem

    Volkan Yildiz Newbie

      hi all,
      Now , i have two entityBean and i have a session bean which have a function trans();
      1) trans() first update some data from entityBean1
      2) trans() first update some data from entityBean2
      but a exception occured between 1 and 2. So i want that
      entityBean1 is rolledBack.

      question ; How can or where a set TX_REQUIRED.( i'm using xdoclet and jboss 3.0.0 and i have just writen in session method : @ejb:transaction-type="Required")