java.sql.SQLException: Can't call commit when autocommit=true

ha-jdbc | qiwenmin | 9 years ago
  1. 0

    Activate new db node fail with transactions

    ha-jdbc | 9 years ago | qiwenmin
    java.sql.SQLException: Can't call commit when autocommit=true
  2. 0

    Hibernate - C3P0 - connectionPool - Transactions

    Stack Overflow | 4 years ago | Jesus Schneider
    java.sql.SQLException: Can't call commit when autocommit=true
  3. 0

    Problem with Hibernate-C3P0-connectionPool (Object Relational Mapping forum at JavaRanch)

    coderanch.com | 11 months ago
    java.sql.SQLException: Can't call commit when autocommit=true
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.sql.SQLException: Can't call commit when autocommit=true Exception

    javabeat.net | 11 months ago
    java.lang.RuntimeException: java.sql.SQLException: Can't call commit when autocommit=true

    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. java.sql.SQLException

      Can't call commit when autocommit=true

      at com.mysql.jdbc.SQLError.createSQLException()
    2. MySQL jdbc
      Connection.commit
      1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:914)
      2. com.mysql.jdbc.Connection.commit(Connection.java:2274)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    4. net.sf.hajdbc
      DatabaseWriteInvocationStrategy$1.call
      1. net.sf.hajdbc.util.reflect.Methods.invoke(Methods.java:47)
      2. net.sf.hajdbc.sql.AbstractInvocationHandler$SimpleInvoker.invoke(AbstractInvocationHandler.java:518)
      3. net.sf.hajdbc.sql.DatabaseWriteInvocationStrategy$1.call(DatabaseWriteInvocationStrategy.java:94)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      5. java.lang.Thread.run(Thread.java:595)
      5 frames