HQL Pagination and selected columns using query