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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 4 months ago
[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
via Oracle Community by 3004, 4 months ago
[SQL=INSERT INTO TMP01_NOXE_SBNX(ID_SUBNOXEX, NOXE_CODESYSTEM_ID, NOXE_CODE_ID, OID) VALUES (null, 23, 556456, [B@113beb5)] [PRE=INSERT INTO TMP01_NOXE_SBNX(ID_SUBNOXEX, NOXE_CODESYSTEM_ID, NOXE_CODE_ID, OID) VALUES (?, ?, ?, ?)] [IBM][CLI Driver][DB2/NT] SQL0206N "ID_SUBNOXEX" ist in dem verwendeten Kontext ung__ltig. SQLSTATE=42703
via Oracle Community by 3004, 4 months ago
[SQL=INSERT INTO PERSON(MGR, NAME, PK, SSNUM) VALUES (null, null, 1, 0)] [PRE=INSERT INTO PERSON(MGR, NAME, PK, SSNUM) VALUES (?, ?, ?, ?)] GDS Exception. violation of PRIMARY or UNIQUE KEY constraint "PK_PERSON" on table "PERSON"
via Oracle Community by 3004, 4 months ago
Table not found: S0002 Table not found: MAGAZINEX in statement [SELECT DISTINCT MAGAZINEX.JDOCLASSX FROM MAGAZINEX]
via Oracle Community by 3004, 4 months ago
[SQL=INSERT INTO CCDB_APPS.CUSTOMER_APPLICATION(APP_CODE, CID, SITE_ID) VALUES ( 'SBL', 11039, '4')] [PRE=INSERT INTO CCDB_APPS.CUSTOMER_APPLICATION(APP_CODE, CID, SITE_ID) VALUES ( ?, ?, ?)] ORA-01400: cannot insert NULL into ("CCDB_APPS"."CUSTOMER_APPLICATION"."STATUS")
via Oracle Community by 3004, 4 months ago
[SQL=INSERT INTO user(JDOCLASSX, JDOIDX, JDOLOCKX, contact, name, password, status, type) VALUES ('com.generator.dom.User', 2850, 0, 1850, 'gregl', 'lamrock', 800, 1250)] [PRE=INSERT INTO user(JDOCLASSX, JDOIDX, JDOLOCKX, contact, name, password
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(SQLExceptions.java:58)
at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:559)
at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:697)
at com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:422)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.