java.sql.SQLException: ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found at oracle.jdbc.dbaccess.DBErions.java:58)

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

    Persistence by reachability with FK in PK

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found at oracle.jdbc.dbaccess.DBErions.java:58)

    Root Cause Analysis

    1. java.sql.SQLException

      ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found at oracle.jdbc.dbaccess.DBErions.java:58)

      at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush()
    2. com.solarmetric.kodo
      Persistencror.throwSqlException
      1. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:559)
      2. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:697)
      3. com.solarmetric.kodo.runtime.Persistencror.throwSqlException(DBError.java:134)
      3 frames
    3. oracle.jdbc.ttc7
      TTC7Protocol.parseExecuteFetch
      1. oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
      2. oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
      3. oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
      4. oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
      4 frames
    4. Oracle jdbc
      OracleStatement.doExecuteOther
      1. oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
      2. oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
      2 frames