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

    strange insert statement during em.merge()

    Oracle Community | 7 years ago | 748631
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("MCS"."COMM_ACTIONTYP"."SER") Error Code: 1400 Call: INSERT INTO COMM_ACTIONTYP (SER, DESCRIP) VALUES (?, ?) bind => [null, null] Query: InsertObjectQuery(mwa.mcs.business.entity.CommActiontyp@21d324)
  3. 0

    onetoone mappings in jpa 3.0

    Oracle Community | 6 years ago | veenapandit
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("XXXX"."CUSTOMER"."PHONES_ID") Error Code: 1400 Call: INSERT INTO CUSTOMER (CUSTOMER_ID, CUSTOMER_NAME, PHONES_ID) VALUES (?, ?, ?) bind => [2, Chrysler, null] Query: InsertObjectQuery(testonetoone.Customer@2c9103)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EclipseLink Generates Duplicate Primary Keys

    Stack Overflow | 3 years ago | sceaj
    java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (GAPM.SYS_C0033927) violated Error Code: 1 Call: INSERT INTO TIME_DIMENSION (ID, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, HOUR, JWK_WEEK, JWK_YEAR, MINUTE, MONTH, MONTH_NAME, QUARTER, WEEKDAY, YEAR) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) bind => [3565649, 4, 1, 308, 19, 45, 2013, 7, 11, November, 2, Monday, 2013] Query: InsertObjectQuery(com.germainsoftware.apm.model.TimeDimension@14f272e7)
  6. 0

    EJB adapter errors are not catched by the composite fault handler

    Oracle Community | 5 years ago | biemond
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: Kan geen NULL invoegen in ("HR"."INFORMATIELEVERINGEN"."OUTPUTPRODUCT_TYPE"). Error Code: 1400 Call: INSERT INTO INFORMATIELEVERINGEN (ID, DATUM_BEWAREN_TOT, BEWAARTERMIJN_IN_DAGEN, GEBRUIKER, ADRES_WAARNAAR_VERSTUURD, OUTPUTPRODUCT_TYPE, INTERMEDIAIR_PRODUKT, INHOUD_VERSTREKKING, RIN_ID, DETAIL_3, DETAIL_1, DETAIL_2, KETEN_OBJECT_TYPE, ORG_ID, TIG_ID, DATUM_SAMENSTELLING, KETEN_OBJECT_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) bind => [7, null, null, null, test, null, null, null, null, null, null, null, null, 1, 1, 2011-09-29, 42] Query: InsertObjectQuery(nl.justid.verstrekkingen.model.entity.Informatielevering@2499c09) This error contained an exception thrown by the message handler. Check the exception trace in the log (with logging level set to debug mode).

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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