/**
   * @ejb.interface-method
   * @ejb.transaction type="Never"
   */
  public int updatePatientNameSoundex() {
    if (!AttributeFilter.isSoundexEnabled()) return 0;

    try {
      Collection<PatientLocal> c = patHome.findAll();
      LOG.info("Start updating Patient Name Soundex codes");
      SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject();
      for (PatientLocal pat : c) {
        ejb.updatePatientNameSoundex(pat);
      }
      LOG.info("Finished updating Patient Name Soundex codes");
      return c.size();
    } catch (FinderException e) {
      throw new EJBException(e);
    }
  }