java.sql.SQLException: Not in a transaction

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
via Oracle Community by ashish.kel, 1 year ago
Io exception: The Network Adapter could not establish the connection
via Oracle Community by 668110, 1 year ago
Io exception: The Network Adapter could not establish the connection
via Stack Overflow by Anoop
, 2 years ago
Io exception: The Network Adapter could not establish the connection
via knowcoding.com by Unknown author, 1 year ago
Io exception: The Network Adapter could not establish the connection
via knowcoding.com by Unknown author, 2 years ago
Io exception: The Network Adapter could not establish the connection
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 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)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
2 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.