Added @NamedQuery to categoryEntity