0 Replies Latest reply on Feb 20, 2007 8:06 AM by abhijit o

    JTA Transaction rollback exception

    abhijit o Newbie

      When one of the sql query get failed to execute i need to rollback transaction, so i get an exception " JTA Transaction rollback Failed exception" .but i remove following property from cfg files

      org.hibernate.transaction.JTATransactionFactory

      It works fine. I am using JBOSS server for developement

      see some logs below.Please anybody help me .

      JTA rollback failed
      java.lang.IllegalStateException: No transaction.
      at org.jboss.tm.TxManager.setRollbackOnly(TxManager.java:356)
      at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.setRollbackOnly(ServerVMClientUserTransaction.java:141)
      at org.hibernate.transaction.JTATransaction.rollback(JTATransaction.java:179)