Bonjour,
Ca fait 2 jours que je parcours le web a la racherche de la solution à ce problème :
S'il vous plaît, comment résoudre l'erreur suivant :
Merci de répondre .
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 ERROR org.hibernate.AssertionFailure - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session) org.hibernate.AssertionFailure: collection [com.creasys.domain.Compte.authorities] was not processed by flush() at org.hibernate.engine.CollectionEntry.postFlush(CollectionEntry.java:228) [hibernate3.jar:na] at org.hibernate.event.def.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:356) [hibernate3.jar:na] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) [hibernate3.jar:na] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) [hibernate3.jar:na] at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365) [hibernate3.jar:na] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137) [hibernate3.jar:na] at com.test.BDD.main(BDD.java:227) [classes/:na] Erreur : org.hibernate.AssertionFailure: collection [com.creasys.domain.Compte.authorities] was not processed by flush() at org.hibernate.engine.CollectionEntry.postFlush(CollectionEntry.java:228) at org.hibernate.event.def.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:356) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137) at com.test.BDD.main(BDD.java:227)
Partager