[hibernate-dev] [OGM] Integration test

2013-10-19 Thread Guillaume SCHEIBEL
Hello, I'm writing a quick sample application using OGM. In this application I'm using a JP-QL query "From DatabaseVendor d" this query is executed by the EntityManager therefore I get an OGM21 exception. So I wrote a unit test to exclude the query parser and it passed. Then I'm trying t

[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 ___