Tag Archives: Cause: java.sql.SQLIntegrityConstraintViolationException

[Solved] Violation of check constraint (GYPTS.SYS_C0016857)

Error Messages:

Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-02290: Violation of check constraint (GYPTS.SYS_C0016857)

 

Reason:

Previously, the field PLANT_USER cannot be null was changed to null, but in the check, the PLANT_USER cannot be null will still be checked, so an error will be reported.

 

Solution:

Remove the checkmark.