/** * @ejb.interface-method * @ejb.transaction type="Never" */ public int updateGPSPSHumanPerformerNameSoundex() { if (!AttributeFilter.isSoundexEnabled()) return 0; try { Collection<GPSPSPerformerLocal> c = gpspsPerformerHome.findAll(); LOG.info("Start updating GPSPS Human Performer Name Soundex codes"); SoundexUpdateLocal ejb = (SoundexUpdateLocal) ctx.getEJBLocalObject(); for (GPSPSPerformerLocal performer : c) { ejb.updateGPSPSPerformerNameSoundex(performer); } LOG.info("Finished updating GPSPS Human Performer Name Soundex codes"); return c.size(); } catch (FinderException e) { throw new EJBException(e); } }