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

inoio.de | 3 months ago
  1. 0

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

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

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

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

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

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

    Automated exception search integrated into your IDE

  5. 0

    persisting a collection - one-to-many mapping (Object Relational Mapping forum at JavaRanch)

    coderanch.com | 1 year ago
    org.hibernate.exception.ConstraintViolationException: could not insert collection: [test.Address.persons#3001]
  6. 0

    EntityTransaction never rollsback, throws exception saying Transaction is not active

    soso.io | 1 year ago
    javax.persistence.RollbackException: Error while committing the transaction

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