java.sql.SQLException: ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found

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
  2. 0

    uow commit swallows DatabaseException

    Oracle Community | 1 decade ago | 407080
    java.sql.SQLException: ORA-01438: value larger than specified precision allows for this column
  3. 0

    Hibernate > CLOB > Oracle :(

    Stack Overflow | 7 years ago | Mark
    java.sql.SQLException: Io exception: Software caused connection abort: socket write error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Call an Oracle function from Java

    Stack Overflow | 4 years ago | lulu88
    java.sql.SQLException: ORA-01006: bind variable does not exist
  6. 0

    Error in updating BLOB file

    Stack Overflow | 3 years ago | Vivek
    java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested
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. java.sql.SQLException

    ORA-02291: integrity constraint (CCLJDO.ATTRIBUTE_FK) violated - parent key not found

    at oracle.jdbc.dbaccess.DBError.throwSqlException()
  2. oracle.jdbc.dbaccess
    DBError.throwSqlException
    1. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    1 frame
  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
    OraclePreparedStatement.executeUpdate
    1. oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
    2. oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
    3. oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
    4. oracle.jdbc.driver.OraclePreparedStatement.doScrollPstmtExecuteUpdate(OraclePreparedStatement.java:3975)
    5. oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:623)
    5 frames
  5. com.solarmetric.datasource
    PreparedStatementWrapper.executeUpdate
    1. com.solarmetric.datasource.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:111)
    1 frame
  6. com.solarmetric.kodo
    PersistenceManagerImpl.commit
    1. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementNonBatch(SQLExecutionManagerImpl.java:454)
    2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:423)
    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:554)
    6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:697)
    7. com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:422)
    7 frames
  7. reachability
    Main.main
    1. reachability.Main.main(Main.java:26)
    1 frame