[hibernate-dev] Hibernate Search 5.0.0.Alpha1 is available: migrating to Lucene 4.6

2014-02-14 Thread Sanne Grinovero
The first milestone to support Apache Lucene 4 is now available:
http://in.relation.to/Bloggers/HibernateSearchMigratingToApacheLucene46

Even though this is an Alpha release I encourage all users to start a
branch to try this out
and have an own milestone, as we managed so far to avoid breaking most
*our* API.

Lucene's APIs changed very significantly, so this milestone is
intended to facilitate migrations.

 -- Sanne
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Extract some methods form AbtractEntityManagerImpl

2014-02-14 Thread Davide D'Alto
Hi,
in OGM I'm reusing some of the methods in AbstractEntityMangerImpl, the
problem is that their scope is protected and I had to move OgmEntityManager
from the original package to *org.hibernate.jpa.spi*

Is it possible to expose these methods in some way, so that I can move
OgmEntityManager to the original package?

The methods are:
- applySavedSettings(NamedQueryDefinition namedQueryDefinition, QueryImpl
jpaQuery);
- resultClassChecking(Class resultType, NamedSQLQueryDefinition
namedQueryDefinition);
- applyProperties(Query query); (this is private but I've copied and paste
it from ORM to OGM)

Thanks,
Davide
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev