Builder getPhql(), call to method getshared() on a non object fix [ci skip]