com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO ATTRIBUTE(CLASS_ID, TYPE_ID, VALUE) VALUES (10, 10, 'KODO')] [PRE=INSERT INTO ATTRIBUTE(CLASS_ID, TYPE_ID, VALUE) VALUES (?, ?, ?)] ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found

Oracle Community | 3004 | 1 decade ago
  1. 0

    Persistence by reachability with FK in PK

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO ATTRIBUTE(CLASS_ID, TYPE_ID, VALUE) VALUES (10, 10, 'KODO')] [PRE=INSERT INTO ATTRIBUTE(CLASS_ID, TYPE_ID, VALUE) VALUES (?, ?, ?)] ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found
  2. 0

    strange exceptions DB2 v8 + kodo2.5.8

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [RAW=null] Error for batch element #0: NULLID.SYSSH203 0X5359534C564C3031
  3. 0

    Insert failing

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO COB_SESSIONS (COBRAND_ID, SESSION_DATA, ID, DB_SESSION_ID, LAST_ACCESS, LENGTH, COBRAND_ID, CREATE_DATE, COBRAND_ID, A_SESSION, SOURCE) VALUES (4, NULL, 'id 6', NULL, NULL, NULL, 150, NULL, NULL, NULL, NULL)] ORA-00957: duplicate column name
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Application Identity for Datastore

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO Warehouse(W_ZIP, DISTRICTSX, W_CITY, W_ID, W_STREET_2, W_TAX, W_STATE, W_NAME, W_STREET_1, W_DESC) VALUES (NULL, NULL, NULL, 'W4', NULL, NULL, NULL, 'WH 4', NULL, NULL)] ORA-00904: invalid column name
  6. 0

    Table alreacy exists

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO MONEYX(JDOCLASSX, JDOLOCKX, JDOIDX, AMOUNTX) VALUES ('com.almostthere.utils.Money', 0, 173, [B@26f75b)] INSERT INTO MONEYX(JDOCLASSX, JDOLOCKX, JDOIDX, AMOUNTX) VALUES ('com.almostthere.utils.Money', 0, 173, [B@26f75b) Don't understand SQL after: "INSERT" Expected: "{" found: "["

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper

      [SQL=INSERT INTO ATTRIBUTE(CLASS_ID, TYPE_ID, VALUE) VALUES (10, 10, 'KODO')] [PRE=INSERT INTO ATTRIBUTE(CLASS_ID, TYPE_ID, VALUE) VALUES (?, ?, ?)] ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found

      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:559)
      3. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:697)
      4. com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:422)
      4 frames