org.hibernate.exception.ConstraintViolationException

could not delete: [Object1#14382]

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 web1020

  • could not delete: [Object1#14382]
  • via sourceforge.net by Unknown author, 1 year ago
    could not delete:
  • could not delete:
  • Stack trace

    • org.hibernate.exception.ConstraintViolationException: could not delete: [Object1#14382] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643) at fr.covea.troisma.soja.batch.BatchService.launchJob(BatchService.java:69) at fr.mma.soecm.batchpurgedonnees.Main.main(Main.java:89) Caused by: org.hibernate.exception.ConstraintViolationException: could not delete: [Object1#14382] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:76) at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:512) ... 3 more Caused by: java.sql.SQLException: ORA-02292: constraint violation (USER.FK_FROM_TABLE_2) - enregistrement fils existant at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2711) ... 6 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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 3 months ago
    78 more bugmates