0 Replies Latest reply on May 24, 2007 3:11 AM by au lai seong

    Rollback not work. why?

    au lai seong Newbie

      I am using jboss-seam-1.2.1.GA/JPA example for testing the @ApplicationException(rollback=true). The following is my code. The problem is the user will store in DB without rollback. Why?

      em.persist(user);
      facesMessages.add("Successfully registered as #{user.username}");
      registered = true;
      throw new Error();