added support for jpa query translations