3 Replies Latest reply on Feb 23, 2005 6:08 AM by François Le Droff

    SQLException on Transaction Manager commit

    Dharmendra Singh Newbie

      Getting the following exception when the EJB method returns and transaction manager is trying to commit.
      Has anybody come across such exception, if yes what's the cause of it.

      java.sql.SQLException: Bigger type length than Maximum
      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
      at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:944)
      at oracle.jdbc.ttc7.MAREngine.buffer2Value(MAREngine.java:1997)
      at oracle.jdbc.ttc7.MAREngine.unmarshalUB2(MAREngine.java:798)
      at oracle.jdbc.ttc7.TTIoer.unmarshal(TTIoer.java:114)
      at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:115)
      at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:472)
      at oracle.jdbc.driver.OracleStatement.(OracleStatement.java:499)
      at oracle.jdbc.driver.OracleStatement.(OracleStatement.java:518)
      at oracle.jdbc.driver.OraclePreparedStatement.(OraclePreparedState
      ment.java:210)
      at oracle.jdbc.driver.OracleCallableStatement.(OracleCallableState
      ment.java:111)
      at oracle.jdbc.driver.OracleCallableStatement.(OracleCallableState
      ment.java:95)
      at oracle.jdbc.driver.OracleConnection.privatePrepareCall(OracleConnecti
      on.java:1055)
      at oracle.jdbc.driver.OracleConnection.prepareCall(OracleConnection.java
      :893)
      at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:276)

      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedC
      onnection.java:156)
      at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1205)
      at org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1278)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:355)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCM
      T.java:398)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep