org.apache.openjpa.persistence.PersistenceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I got database error on Roller 4.0.1
    via by (David) Ming Xia,
  • I got database error on Roller 4.0.1
    via by (David) Ming Xia,
  • problem in persisting object using jpa
    via Stack Overflow by akshay
    ,
  • error on deploying EJB project on weblogic
    via Stack Overflow by sagar
    ,
    • org.apache.openjpa.persistence.PersistenceException: The insert or update value of the FOREIGN KEY "DAVIDXIA.BOOKMARK.BM_FOLDERID_FK" is not equal to any value of the parent key of the parent table.. SQLCODE=-530, SQLSTATE=23503, DRIVER=3.50.152 {prepstmnt 701376974 INSERT INTO bookmark (id, description, feedurl, image, name, priority, url, weight, folderid) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [params=(String) 43638a80-354d-4caf-8c3e-f6ecb7d4fcb1, (String) , (null) null, (null) null, (String) Lance Lavandowska, (int) 0, (String) http://rollerweblogger.org/lance, (int) 0, (String) c26615a2-cb52-4f28-aa6c-3ad76d4874e7]} [code=-530, state=23503]SQLCA OUTPUT[Errp=SQLRI079, Errd=-2145779603, 0, 0, 0, -100, 0] The insert or update value of the FOREIGN KEY "DAVIDXIA.BOOKMARK.BM_FOLDERID_FK" is not equal to any value of the parent key of the parent table.. SQLCODE=-530, SQLSTATE=23503, DRIVER=3.50.152 FailedObject: org.apache.roller.weblogger.pojos.WeblogBookmark@21e321e3 at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4232) at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4197) at org.apache.openjpa.jdbc.sql.DB2Dictionary.newStoreException(DB2Dictionary.java:503) at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102) at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:72) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:131) at org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.batchOrExecuteRow(BatchingPreparedStatementManagerImpl.java:102) at org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:86) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:89) at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:72) at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:543) at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:105) at org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:59) at com.ibm.ws.persistence.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:78) at com.ibm.ws.persistence.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:60) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:655) at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)

    Users with the same issue

    WoodenDoorsWoodenDoors
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,