-->
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.  [ 1 post ] 
Author Message
 Post subject: Why is Grails plugin causing errors on Hibernate AutoFlush?
PostPosted: Fri Mar 18, 2011 12:34 pm 
Newbie

Joined: Sat Dec 13, 2008 12:45 pm
Posts: 1
Location: Austin
In the Grails/Hibernate project that I'm troubleshooting flushing a collection on a domain class causes the following error:
Quote:
ERROR 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 [domain-class] was not processed by flush()


The weird thing is that the domain classes work fine normally and in most cases, except when we use a plugin to index a large volume of them.

Here's more detail on StackOverflow: http://stackoverflow.com/q/5353564/25847

Recently I heard that the latest version of Hibernate had some collection flushing issues.

Is this related to my problem?

Does anyone know the source of this error, and how to fix it?


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

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.