1 Reply Latest reply on Dec 30, 2005 8:21 PM by Emmanuel Bernard

    java.lang.RuntimeException: org.jboss.tm.JBossRollbackExcept

    Kirill Trofimov Newbie

      I have Stateles bean with method:

       public void addUser(User user) throws Exception {
       try {
       } catch (Exception e) {
       throw e;

      When i call this method from client i recive:
      java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=lserver/662, BranchQual=, localId=662] status=STATUS_NO_TRANSACTION; - nested throwable: (org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update)

      Why transaction can't rollback?