Re: [hibernate-dev] JPA 2.1 / EntityManagerFactory#addNamedQuery

2012-06-20 Thread Steve Ebersole
On Wed 20 Jun 2012 11:07:11 AM CDT, Sanne Grinovero wrote: > Indeed Hibernate Search (re)implements both > - javax.persistence.Query > - org.hibernate.Query > > It would be nice if you could create a "Base" class for us to extend, There is already a base class for org.hibernate.Query... org.

Re: [hibernate-dev] JPA 2.1 / EntityManagerFactory#addNamedQuery

2012-06-20 Thread Sanne Grinovero
Indeed Hibernate Search (re)implements both - javax.persistence.Query - org.hibernate.Query It would be nice if you could create a "Base" class for us to extend, but not critically important: as discussed it just improves the odds for different versions of Search to be compatible with ORM, when