Re: [hibernate-dev] [OGM] JPQL support

2013-10-20 Thread Gunnar Morling
Hi Guillaume, As you say JPQL support is basically not yet implemented in OgmEntityManager. There is already some code in this class which obtains an OgmSession for a given OEM (getDelegate(), buildOgmSession()). So I think one could implement createQuery() either by delegating to OgmSession#crea

[hibernate-dev] [OGM] JPQL support

2013-10-19 Thread Guillaume SCHEIBEL
Hello, I can confirm that JPQL queries are only working if they are executed from a org.hibernate.Session. If we want to run them from the entity manager, we get a OGM-21 thrown from the OgmEntityManager.createQuery(String query) method. How can wa / I make it work ? Thanks Guillaume ___