Hotware / Hibernate-Search-GenericJPA

Hibernate-Search with the JPA provider you want
http://hotware.github.io/Hibernate-Search-GenericJPA/
GNU Lesser General Public License v2.1
5 stars 3 forks source link

store reference to the SearchFactory for each EntityManagerFactory in a sane way #59

Closed s4ke closed 9 years ago

s4ke commented 9 years ago

do a module that is to be used in an EE context and let it inject the EntityManagerFactory and for the JavaSE context (or in a context that doesn't have it) it's the users task anyways?

s4ke commented 9 years ago

for the EE thing this should be okay as well since the thread that builds the context should have the same classloader anyways?

EE would need an extra module then.

s4ke commented 9 years ago

we should store a reference to each JPASearchFactory mapped to the EntityManagerFactory (BiMap!)