org.hibernate.exception.ConstraintViolationException: could not insert: \[org.openxava.baseklif.model.Recensement\]

openxava | patrick_kg | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Why an identity column as key is NULL

    openxava | 9 years ago | patrick_kg
    org.hibernate.exception.ConstraintViolationException: could not insert: \[org.openxava.baseklif.model.Recensement\]

    Root Cause Analysis

    1. org.hibernate.exception.ConstraintViolationException

      could not insert: \[org.openxava.baseklif.model.Recensement\]

      at org.hibernate.exception.SQLStateConverter.convert()
    2. Hibernate
      AbstractSelectingDelegate.performInsert
      1. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
      2. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      3. org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:40)
      3 frames