Adding support to Query#setFirstResult