Reputation: 109
Does anyone know if I can use Hibernate Search with Eclipse Link? Or do I have to use Hibernate as my JPA provider?
Upvotes: 5
Views: 609
Reputation: 602
I am currently working on a integration of the Hibernate Search Engine that supports any JPA provider you throw at it. It's currently in, hmmm. let's call it late Alpha. Most features work (but I wouldn't suggest using it in production just yet) and you can give it a try with:
https://github.com/s4ke/hibernate-search-genericjpa-example
Some differences for your domain model are:
For more information visit: https://github.com/Hotware/Hibernate-Search-JPA
Upvotes: 2
Reputation: 706
Hibernate search can't be used with another JPA provider... sorry
You have 2 options :
switch to Hibernate as your JPA provider
use EclipseLink with Solr (and SolrJ java API)
Upvotes: 4