com.ibm.db2.jcc.c.SqlException: Error for batch element #0: DB2 SQL error: SQLCODE: -301, SQLSTATE: 07006, SQLERRMC: 1

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    DB2 Batch Update Problem

    Oracle Community | 1 decade ago | 3004
    com.ibm.db2.jcc.c.SqlException: Error for batch element #0: DB2 SQL error: SQLCODE: -301, SQLSTATE: 07006, SQLERRMC: 1
  2. 0

    DB2 Batch Update Problem

    objectmix.com | 1 year ago
    com.ibm.db2.jcc.c.SqlException: Error for batch element #0: DB2 SQL error: SQLCODE: -301, SQLSTATE: 07006, SQLERRMC: 1

    Root Cause Analysis

    1. com.ibm.db2.jcc.c.SqlException

      Error for batch element #0: DB2 SQL error: SQLCODE: -301, SQLSTATE: 07006, SQLERRMC: 1

      at com.ibm.db2.jcc.c.cl.d()
    2. com.ibm.db2
      cl.d
      1. com.ibm.db2.jcc.c.cl.d(cl.java:1039)
      1 frame
    3. IBM DB2
      bq.c
      1. com.ibm.db2.jcc.a.bd.k(bd.java:314)
      2. com.ibm.db2.jcc.a.bd.a(bd.java:63)
      3. com.ibm.db2.jcc.a.r.a(r.java:64)
      4. com.ibm.db2.jcc.a.bq.c(bq.java:224)
      4 frames
    4. com.ibm.db2
      cm.executeBatch
      1. com.ibm.db2.jcc.c.cm.F(cm.java:1209)
      2. com.ibm.db2.jcc.c.cm.executeBatch(cm.java:1903)
      3. com.ibm.db2.jcc.c.cm.executeBatch(cm.java:987)
      3 frames
    5. com.solarmetric.datasource
      StatementWrapper.executeBatch
      1. com.solarmetric.datasource.StatementWrapper.executeBatch(StatementWrapper.java:385)
      1 frame
    6. com.solarmetric.kodo
      PersistenceManagerImpl.commit
      1. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementBatch(SQLExecutionManagerImpl.java:524)
      2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:425)
      3. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:381)
      4. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.flush(SQLExecutionManagerImpl.java:255)
      5. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:514)
      6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:730)
      7. com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:455)
      7 frames
    7. com.cdsinc.status
      StatusDemo.main
      1. com.cdsinc.status.StatusDemo.runDemo(StatusDemo.java:82)
      2. com.cdsinc.status.StatusDemo.main(StatusDemo.java:127)
      2 frames