DB2 ERRORCODE=-4229, SQLSTATE=null

db2

Solution

For those who are looking for an solution to this error.

For me this was due to

`THE INSERT OR UPDATE VALUE OF FOREIGN KEY constraint-name IS INVALID. DB2 SQL Error: SQLCODE=-530, SQLSTATE=23503`

Problem

I'm getting this error while executing a batch operation. `Use getNextException() to retrieve the exceptions for specific batched elements.ERRORCODE=-4229, SQLSTATE=null` I'm not finding any pointer to proceed with debugging this error. Appreciating any help!!!

Original source