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()

Oracle Community | dannycron | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Glassfish creates a table that it cannot use.

    Oracle Community | 9 years ago | 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()
  2. 0

    Chapter 8 - Getting an error while running ant script using glassfish

    manning.com | 1 year ago
    java.sql.SQLIntegrityConstraintViolationException: INSERT on table 'USERS' caused a violation of foreign key constraint 'FK _USERS_USER_ID' for key (idiot2). The statement has been rolled back. Error Code: -1

    Root Cause Analysis

    1. 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()
    2. oracle.toplink.essentials
      DatabaseException.sqlException
      1. oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:311)
      1 frame