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/25847Recently 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?