<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hibernate Search on The Dangling Pointer</title><link>https://aaron.blog/tags/hibernate-search/</link><description>Recent content in Hibernate Search on The Dangling Pointer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 12 Jun 2010 12:25:41 +0000</lastBuildDate><atom:link href="https://aaron.blog/tags/hibernate-search/index.xml" rel="self" type="application/rss+xml"/><item><title>Flush THIS Hibernate!</title><link>https://aaron.blog/flush-this-hibernate/</link><pubDate>Sat, 12 Jun 2010 12:25:41 +0000</pubDate><guid>https://aaron.blog/flush-this-hibernate/</guid><description>&lt;p&gt;I've been working with Hibernate 3.3.2 and Hibernate Search 3.1 for the past few months.  We finally got to a point in our project where we are sucking in mass amounts of data into our application from a large business application via JMS.  Suddenly, I'm getting the following errors during persistence:&lt;/p&gt;&lt;p&gt;org.hibernate.AssertionFailure: collection [ class name here ] was not processed by flush()&lt;/p&gt;&lt;p&gt;I tried changing the owning side of the collection, made a join table, and nothing helped.  The error started when I added an @IndexEmbedded annotation to the collection, and I discovered I was missing the @ContainedIn annotation in the collection entity.  That didn't fix it.  After weeks of doing little tweaks, breaking, fixing, breaking, fixing, I finally discovered the problem.  I was using an older manual for Hibernate Search (3.0 specifically) and I had the following configuration parameter pushed into my SessionFactory:&lt;/p&gt;</description></item></channel></rss>