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

    transaction problem...

    volkanyildiz

      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...