Hibernate Search and Glassfish

Using Hibernate Search in combination with Glassfish throws following Exception:

Add an additional

to your persitence.xml in order to use Hibernate JPA for Persistence Management.

Additional information:
Glassfish Application Server does not use Hibernate JPA for Persistence Management (it uses EclipeLink). That’s why Hibernate Search cannot be automatically triggered when reading or writing data to DB.

Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+

Leave a Reply

Your email address will not be published. Required fields are marked *