query rewritten with querydsl