org.apache.metamodel.MetaModelException: Could not rollback transaction: rollback() should not be called while in auto-commit mode.

GitHub | ClaudiaPHI | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1201#249551178

    GitHub | 7 months ago | ClaudiaPHI
    org.apache.metamodel.MetaModelException: Could not rollback transaction: rollback() should not be called while in auto-commit mode.

    Root Cause Analysis

    1. org.apache.metamodel.MetaModelException

      Could not rollback transaction: rollback() should not be called while in auto-commit mode.

      at org.apache.metamodel.jdbc.JdbcUtils.wrapException()
    2. org.apache.metamodel
      JdbcDataContext.executeUpdate
      1. org.apache.metamodel.jdbc.JdbcUtils.wrapException(JdbcUtils.java:61)
      2. org.apache.metamodel.jdbc.JdbcUpdateCallback.commitOrRollback(JdbcUpdateCallback.java:112)
      3. org.apache.metamodel.jdbc.JdbcUpdateCallback.close(JdbcUpdateCallback.java:85)
      4. org.apache.metamodel.jdbc.JdbcDataContext.executeUpdate(JdbcDataContext.java:850)
      4 frames
    3. org.datacleaner.beans
      InsertIntoTableAnalyzer.run
      1. org.datacleaner.beans.writers.InsertIntoTableAnalyzer.run(InsertIntoTableAnalyzer.java:414)
      2. org.datacleaner.beans.writers.InsertIntoTableAnalyzer.run(InsertIntoTableAnalyzer.java:76)
      2 frames
    4. org.datacleaner.util
      WriteBuffer.addToBuffer
      1. org.datacleaner.util.WriteBuffer.flushBuffer(WriteBuffer.java:84)
      2. org.datacleaner.util.WriteBuffer.addToBuffer(WriteBuffer.java:60)
      2 frames
    5. org.datacleaner.beans
      InsertIntoTableAnalyzer.run
      1. org.datacleaner.beans.writers.InsertIntoTableAnalyzer.run(InsertIntoTableAnalyzer.java:377)
      1 frame
    6. org.datacleaner.job
      TaskRunnable.run
      1. org.datacleaner.job.runner.AnalyzerConsumer.consumeInternal(AnalyzerConsumer.java:71)
      2. org.datacleaner.job.runner.AbstractRowProcessingConsumer.consume(AbstractRowProcessingConsumer.java:159)
      3. org.datacleaner.job.runner.ConsumeRowHandlerDelegate.consume(ConsumeRowHandlerDelegate.java:64)
      4. org.datacleaner.job.runner.ConsumeRowHandler.consumeRow(ConsumeRowHandler.java:146)
      5. org.datacleaner.job.tasks.ConsumeRowTask.execute(ConsumeRowTask.java:51)
      6. org.datacleaner.job.concurrent.TaskRunnable.run(TaskRunnable.java:61)
      6 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames