org.hibernate.exception.ConstraintViolationException: could not insert collection rows:

inoio.de | 8 months 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

    How to get rid of Hibernate's GenericJDBCException - inoio gmbh

    inoio.de | 2 years ago
    org.hibernate.exception.ConstraintViolationException: could not insert collection rows:
  2. 0

    How to get rid of Hibernate's GenericJDBCException - inoio gmbh

    inoio.de | 2 years ago
    org.hibernate.exception.ConstraintViolationException: could not insert collection rows:
  3. 0

    How to get rid of Hibernate's GenericJDBCException - inoio gmbh

    inoio.de | 8 months ago
    org.hibernate.exception.ConstraintViolationException: could not insert collection rows:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.exception.ConstraintViolationException

      could not insert collection rows:

      at org.hibernate.exception.SQLStateConverter.convert()
    2. Hibernate
      AbstractCollectionPersister.insertRows
      1. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
      2. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      3. org.hibernate.persister.collection.AbstractCollectionPersister.insertRows(AbstractCollectionPersister.java:1454)
      3 frames
    3. Hibernate
      CollectionUpdateAction.execute
      1. org.hibernate.action.CollectionUpdateAction.execute(CollectionUpdateAction.java:86)
      1 frame
    4. Hibernate
      ActionQueue.executeActions
      1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      2. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      3. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:187)
      3 frames
    5. Hibernate
      SessionImpl.managedFlush
      1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      4. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
      4 frames
    6. Hibernate
      JDBCTransaction.commit
      1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
      1 frame