Could not execute JDBC batch update

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web58

  • via Hibernate JIRA by Dwight Harm, 1 year ago
    Could not execute JDBC batch update
  • via Coderanch by Vijay Kashyap, 7 months ago
    Could not execute JDBC batch update
  • via Coderanch by chandrakanth boga, 7 months ago
    Could not execute JDBC batch update
  • Stack trace

    • net.sf.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at net.sf.hibernate.exception.ErrorCodeConverter.convert( at net.sf.hibernate.exception.JDBCExceptionHelper.convert( at net.sf.hibernate.impl.BatcherImpl.convert( at net.sf.hibernate.impl.BatcherImpl.executeBatch( at net.sf.hibernate.impl.BatcherImpl.prepareStatement( at net.sf.hibernate.impl.BatcherImpl.prepareStatement( at net.sf.hibernate.impl.BatcherImpl.prepareBatchStatement( at net.sf.hibernate.persister.EntityPersister.insert( at net.sf.hibernate.persister.EntityPersister.insert( at net.sf.hibernate.impl.ScheduledInsertion.execute( at net.sf.hibernate.impl.SessionImpl.execute( at net.sf.hibernate.impl.SessionImpl.executeAll( at net.sf.hibernate.impl.SessionImpl.execute( at net.sf.hibernate.impl.SessionImpl.flush( at net.sf.hibernate.transaction.JDBCTransaction.commit( at at at at at org.quartz.simpl.SimpleThreadPool$ Caused by: java.sql.BatchUpdateException: ORA-00001: unique constraint (TSI.SYS_C002728) violated at oracle.jdbc.dbaccess.DBError.throwBatchUpdateException( at oracle.jdbc.driver.OraclePreparedStatement.executeBatch( at com.mchange.v2.sql.filter.FilterPreparedStatement.executeBatch( at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch( at net.sf.hibernate.impl.BatcherImpl.executeBatch( ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.