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

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 #1: DB2 SQL error: SQLCODE: -301, SQLSTATE: 07006, SQLERRMC: 5

    Root Cause Analysis

    1. com.ibm.db2.jcc.c.SQLException

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

      at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.commit
      1. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
      2. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:520)
      3. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:730)
      4. com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:455)
      4 frames
    3. au.com.aig
      StandaloneJDODemo.main
      1. au.com.aig.aiaa.jdoDemo.StandaloneJDODemo.tryPersistence(StandaloneJDODemo.java:81)
      2. au.com.aig.aiaa.jdoDemo.StandaloneJDODemo.main(StandaloneJDODemo.java:198)
      2 frames