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) {
??
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) {
??