Re: [hibernate-dev] Nice talk on Git/GitHub

2012-06-20 Thread Hardy Ferentschik
Thanks for the tip Gunnar! The file finder is awesome. I was wishing for something like this more than once. Turns out it was there right in front of my nose. Some features are really quite well hidden in GitHub. One thing which kept bugging me until just a couple of days ago was that clicking

[hibernate-dev] JPA 2.1 / EntityManagerFactory#addNamedQuery

2012-06-20 Thread Steve Ebersole
JPA 2.1 adds an ability to add/override a named query using a "compiled" query object; javax.persistence.Query is the type passed in. javax.persistence.Query just does not give access to the information needed to create a named query definition (at the most basic you cannot even get access to t

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

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.