java.sql.SQLException

Not in a transaction

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11205

  • via Oracle Community by 3004, 1 year ago
    Not in a transaction
  • via Google Groups by Unknown author, 1 month ago
    Not in a transaction
  • Not in a transaction
  • Stack trace

    • java.sql.SQLException: Not in a transaction at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273) at oracle.jdbc.driver.OracleConnection.needLine(OracleConnection.java:1608) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:412) at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.java:470) at oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java:379) at weblogic.jdbc.jta.XAConnection.createStatement(XAConnection.java:415) at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:1089) at weblogic.jdbc.common.internal.ResourceAllocator.release(ResourceAllocator.java:1028) at weblogic.jdbc.common.internal.ResourceAllocator.release(ResourceAllocator.java:1054) at weblogic.jdbc.common.internal.ConnectionPool.release(ConnectionPool.java:180) at weblogic.jdbc.jta.XAConnection.releaseToPool(XAConnection.java:256) at weblogic.jdbc.jta.DataSource.commit(DataSource.java:842) at weblogic.transaction.internal.ServerResourceInfo.commit(ServerResourceInfo.java:1313) at weblogic.transaction.internal.ServerResourceInfo.commit(ServerResourceInfo.java:512) at weblogic.transaction.internal.ServerSCInfo.startCommit(ServerSCInfo.java:237) at weblogic.transaction.internal.ServerTransactionImpl.localCommit(ServerTransactionImpl.java:1474) at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2042) at weblogic.transaction.internal.ServerTransactionImpl.access$2(ServerTransactionImpl.java:2002) at weblogic.transaction.internal.ServerTransactionImpl$2.execute(ServerTransactionImpl.java:2479) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 2 months ago
    Once, 6 months ago
    Unknown user
    Once, 10 months ago
    28 more bugmates