These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Hibernate assertion failure error!!
PostPosted: Fri Jan 07, 2005 8:45 am 
Beginner
Beginner

Joined: Thu May 13, 2004 5:51 am
Posts: 28
Hibernate version: 2.1.3

We caught this error while running our stress tests. Having recently made some query changes after setting some associations to lazily fetch, we have been intermittently hitting this exception. Some tests run smooth with the same piece of code working fine under different data sets. Anybody has any clue if this has been encountered before?

net.sf.hibernate.AssertionFailure: Hibernate has a bug processing collections
at net.sf.hibernate.impl.SessionImpl$CollectionEntry.postFlush(SessionImpl.java:367)
at net.sf.hibernate.impl.SessionImpl.postFlush(SessionImpl.java:2825)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2230)
at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)

--
Meg


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 10, 2005 10:36 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
are you sharing collection through several processes

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 8:59 am 
Beginner
Beginner

Joined: Thu May 13, 2004 5:51 am
Posts: 28
emmanuel wrote:
are you sharing collection through several processes


Yes.. infact our tests clean the database as a different process in every tear down. Is there an issue there?

--
Megha

Sorry for the late reply..


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.