Comment 2 for bug 799254

Revision history for this message
AlexRiva (alexriva) wrote :

querydsl-jpa has already a dependency on hibernate-entitymanager, so why not simply change the check from:

if (query.getClass().getName().startsWith("org.hibernate")){

to

if (query instanceof HibernateQuery) {

??