@joiz i think stof is right, you need to use this to use Query::HYDRATE_PHPCR - sorry for the confusion