org.hibernate.TransactionException: JDBC rollback failed | 5 months ago
  1. 0

    Problemas com mapeamentos no hibernate - Javafree: O fórum de Java que mais cresce | 1 year ago
    org.hibernate.TransactionException: JDBC rollback failed
  2. 0

    h2-database - Re: Rollback failure - msg#00113 - Recent Discussion | 9 months ago
    org.hibernate.TransactionException: JDBC rollback failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Setting packetSize given in JDBCDriver.

    Oracle Community | 4 years ago | 1010289
    org.hibernate.TransactionException: JDBC rollback failed
  5. 0

    Throwing a RuntimeException in a method in a proxied object before any database activity occurs causes a TransactionSystemException to be thrown when Spring attempts to roll back a transaction that hasn't started yet. Stack trace: org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed org.hibernate.TransactionException: JDBC rollback failed at org.hibernate.transaction.JDBCTransaction.rollback( at org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback( at at at org.springframework.transaction.interceptor.TransactionAspectSupport.doCloseTransactionAfterThrowing( at org.springframework.transaction.interceptor.TransactionInterceptor.invoke( at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( at org.springframework.aop.framework.JdkDynamicAopProxy.invoke( [...] Caused by: java.sql.SQLException: rollback() should not be called while in auto-commit mode. at net.sourceforge.jtds.jdbc.ConnectionJDBC2.rollback( at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcRollback( at org.jboss.resource.adapter.jdbc.WrappedConnection.rollback( at org.hibernate.transaction.JDBCTransaction.rollbackAndResetAutoCommit( at org.hibernate.transaction.JDBCTransaction.rollback( ... 54 more In trying to reproduce this locally, it seems that the JBoss resource adapter may be the source of the problem because I can't get the problem to reproduce wihtout running it under JBoss. This code, if created within a proxied object, should have reproduced the error: @Transactional public void myTransactionalProxiedMethod() { throw new RuntimeException("No database access has occurred yet."); }

    Spring JIRA | 1 decade ago | David D. Kilzer
    org.hibernate.TransactionException: JDBC rollback failed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.TransactionException

      JDBC rollback failed

      at org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback()
    2. Hibernate
      1. org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback(
      1 frame
    3. Spring Tx
      2 frames
    4. Java RT
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(
      3 frames