java.sql.SQLIntegrityConstraintViolationException

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.

  • Glassfish creates a table that it cannot use.
    via by dannycron,
    • java.sql.SQLIntegrityConstraintViolationException: Column 'BAR_ID' cannot accept a NULL value. Error Code: -1 Call: INSERT INTO C_A(foo_ID, C_ID) VALUES (?, ?) bind => [7, 4] Query: DataModifyQuery() at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:311)
    No Bugmate found.