org.apache.openjpa.persistence.PersistenceException: GDS Exception. 335544466. violation of FOREIGN KEY constraint "INTEG_46" on table "SCHEDULE_ELEMENT" Foreign key reference target does not exist {prepstmnt 8820448 UPDATE schedule_element SET persistentPlanable = ?, plannedEndTriggerId = ?, plannedStartTriggerId = ? WHERE id = ? [params=(byte[]) [B@1b7faf, (long) 0, (long) 0, (long) 224]} [code=335544466, state=HY000] FailedObject: xms.common.beans.bus.planning.schedule.B_ScheduleElement-224

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 openjpa-users by Datin Benoit, 6 months ago
GDS Exception. 335544466. violation of FOREIGN KEY constraint "INTEG_46" on table "SCHEDULE_ELEMENT" Foreign key reference target does not exist {prepstmnt 8820448 UPDATE schedule_element SET persistentPlanable = ?, plannedEndTriggerId
via openjpa-users by Datin Benoit, 1 year ago
GDS Exception. 335544466. violation of FOREIGN KEY constraint "INTEG_46" on table "SCHEDULE_ELEMENT" Foreign key reference target does not exist {prepstmnt 8820448 UPDATE schedule_element SET persistentPlanable = ?, plannedEndTriggerId
via openjpa-users by Kevin Sutter, 6 months ago
GDS Exception. 335544466. violation of FOREIGN KEY constraint "INTEG_46" on table "SCHEDULE_ELEMENT" Foreign key reference target does not exist {prepstmnt 8820448 UPDATE schedule_element SET persistentPlanable = ?, plannedEndTriggerId
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576. {prepstmnt 1014879114 UPDATE ODE_PROCESS_INSTANCE SET EXECUTION_STATE= ?, LAST_ACTIVE_TIME = ?, SEQUENCE = ? WHERE ID = ? [params=(byte
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576. {prepstmnt 1014879114 UPDATE ODE_PROCESS_INSTANCE SET EXECUTION_STATE= ?, LAST_ACTIVE_TIME = ?, SEQUENCE = ? WHERE ID = ? [params=(byte
via ode-user by Jitendra Kharche, 1 year ago
A truncation error was encountered trying to shrink BLOB '(Binary data value not displayed)' to length 1048576. {prepstmnt 1014879114 UPDATE ODE_PROCESS_INSTANCE SET EXECUTION_STATE= ?, LAST_ACTIVE_TIME = ?, SEQUENCE = ? WHERE ID = ? [params=(byte
org.apache.openjpa.persistence.PersistenceException: GDS Exception. 335544466. violation of FOREIGN KEY constraint "INTEG_46" on table "SCHEDULE_ELEMENT" Foreign key reference target does not exist {prepstmnt 8820448 UPDATE schedule_element SET persistentPlanable = ?, plannedEndTriggerId = ?, plannedStartTriggerId = ? WHERE id = ? [params=(byte[]) [B@1b7faf, (long) 0, (long) 0, (long) 224]} [code=335544466, state=HY000] FailedObject: xms.common.beans.bus.planning.schedule.B_ScheduleElement-224
at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4962)
at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4922)
at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:78)
at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:144)
at org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:79)
at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:100)
at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:88)
at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:550)
at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:107)
at org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:59)
at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:105)
at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:78)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:732)
at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:131)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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