java.sql.BatchUpdateException: ORA-00001: unique constraint > (SONAR_DEV.FILE_SOURCES_FILE_UUID_UNIQ) violated > > at > oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10296) > ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] > at > oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:216) > ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] > at > org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) > ~[commons-dbcp-1.4.jar:1.4] > at > org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) > ~[commons-dbcp-1.4.jar:1.4] > at org.sonar.db.version.UpsertImpl.addBatch(UpsertImpl.java:41)

Google Groups | Michael Giroux | 11 months ago
  1. 0

    Upgrade to 5.2 fails due to unique constraint

    Google Groups | 11 months ago | Michael Giroux
    java.sql.BatchUpdateException: ORA-00001: unique constraint > (SONAR_DEV.FILE_SOURCES_FILE_UUID_UNIQ) violated > > at > oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10296) > ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] > at > oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:216) > ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] > at > org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) > ~[commons-dbcp-1.4.jar:1.4] > at > org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) > ~[commons-dbcp-1.4.jar:1.4] > at org.sonar.db.version.UpsertImpl.addBatch(UpsertImpl.java:41)
  2. 0

    ActiveMQ unique constraint violated

    Stack Overflow | 4 years ago | Wayne Earnshaw
    java.sql.BatchUpdateException: ORA-00001: unique constraint (WEBSVC.SYS_C00181594) violated</p> <pre><code>at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10345)
  3. 0

    Closed Connection exceptions every day with WL813 SP3 and 10g

    objectmix.com | 8 months ago
    java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$DATA= _CENTER_ID_PK) violated at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseEr= ror.java:367) at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePrepare= dStatement.java:8726) at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatemen= t.java:137)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Closed Connection exceptions every day with WL813 SP3 and 10g

    objectmix.com | 8 months ago
    java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$ACCT= _ID_PK) violated at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseEr= ror.java:367) at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePrepare= dStatement.java:8726) at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatemen= t.java:137)
  6. 0

    JUnit 4 causes an error when expecting exceptions - comp.lang.java.programmer

    compgroups.net | 7 months ago
    java.sql.BatchUpdateException: ORA-02291: integrity constraint (APPDB.TABLEA_R01) violated - parent key not found at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java: 498) at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java: 12432)

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

      ORA-00001: unique constraint > (SONAR_DEV.FILE_SOURCES_FILE_UUID_UNIQ) violated > > at > oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10296) > ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] > at > oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:216) > ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] > at > org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) > ~[commons-dbcp-1.4.jar:1.4] > at > org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) > ~[commons-dbcp-1.4.jar:1.4] > at org.sonar.db.version.UpsertImpl.addBatch(UpsertImpl.java:41)

      at org.sonar.db.version.MassUpdate$1.handle()
    2. org.sonar.db
      SelectImpl.scroll
      1. org.sonar.db.version.MassUpdate$1.handle(MassUpdate.java:80)
      2. org.sonar.db.version.SelectImpl.scroll(SelectImpl.java:78)
      2 frames