org.hibernate.AssertionFailure: collection [com.olympe.model.ObjetBI.votes] was not processed by flush()

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

    collection was processed twice by flush()

    Stack Overflow | 9 months ago | Djidji Ndiandia
    org.hibernate.AssertionFailure: collection [com.olympe.model.ObjetBI.votes] was not processed by flush()

    Root Cause Analysis

    1. org.hibernate.AssertionFailure

      collection [com.olympe.model.ObjetBI.votes] was not processed by flush()

      at org.hibernate.engine.spi.CollectionEntry.postFlush()
    2. Hibernate
      SessionImpl.managedFlush
      1. org.hibernate.engine.spi.CollectionEntry.postFlush(CollectionEntry.java:231)
      2. org.hibernate.event.internal.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:382)
      3. org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:57)
      4. org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1222)
      5. org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
      5 frames