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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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