Announcement Announcement Module
Collapse
No announcement yet.
JDBC commit failed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JDBC commit failed

    I am getting the following exception when trying to load a entity from database.

    The original cause of error is JDBC Commit failed. any idea why this is happening.



    1:43:22,841 ERROR [JDBCTransaction] JDBC rollback failed
    java.sql.SQLException: ORA-01453: SET TRANSACTION must be first statement of transaction

    at oracle.jdbc.driver.DatabaseError.throwSqlException (DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoe r.java:305)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoe r.java:272)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java: 623)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4 CPreparedStatement.java:181)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_fo r_rows(T4CPreparedStatement.java:543)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTi meout(OracleStatement.java:1028)
    at oracle.jdbc.driver.OraclePreparedStatement.execute Internal(OraclePreparedStatement.java:2888)
    at oracle.jdbc.driver.OraclePreparedStatement.execute (OraclePreparedStatement.java:2979)
    at oracle.jdbc.driver.PhysicalConnection.setReadOnly( PhysicalConnection.java:1340)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManaged Connection.checkState(BaseWrapperManagedConnection .java:443)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManaged Connection.checkTransaction(BaseWrapperManagedConn ection.java:430)
    at org.jboss.resource.adapter.jdbc.WrappedConnection. checkTransaction(WrappedConnection.java:766)
    at org.jboss.resource.adapter.jdbc.WrappedConnection. rollback(WrappedConnection.java:482)
    at org.hibernate.transaction.JDBCTransaction.rollback AndResetAutoCommit(JDBCTransaction.java:163)
    at org.hibernate.transaction.JDBCTransaction.rollback (JDBCTransaction.java:142)
Working...
X