/** * @ejb.interface-method * @ejb.transaction type="Never" */ public int updateMWLPerformingPhysicianNameSoundex() { if (!AttributeFilter.isSoundexEnabled()) return 0; try { Collection<MWLItemLocal> c = mwlItemHome.findAll(); LOG.info("Start updating MWL Performing Physician Name Soundex codes"); SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject(); for (MWLItemLocal mwlitem : c) { ejb.updateMWLPerformingPhysicianNameSoundex(mwlitem); } LOG.info("Finished updating MWL Performing Physician Name Soundex codes"); return c.size(); } catch (FinderException e) { throw new EJBException(e); } }