0 Replies Latest reply on Mar 17, 2003 9:51 AM by Volkan Yildiz

    transaction problem...

    Volkan Yildiz Newbie

      Hi all,
      I have a session method which update two entityBeans.

      public trTest(){
      updateFirstEntity();
      Integer.parseint("just an exception, you must rollBack");
      updateSecondEntity();
      }

      Now, when exception occured, first update must be rollledback. But it does not.

      I have set "<trans-attribute>Required</trans-attribute>" in ejb-jar.xml for all methods. What could be the problem? Any idea please...