5859606162636465
this.ds = ( DataSource ) ic.lookup( getDataSourceName() ); } catch ( NamingException e ) { throw new DAOException( "Failed to lookup DataSource", e ); } }
5657585960616263
ServiceLocatorDelegate serviceLocator = new ServiceLocatorDelegate(); this.ds = ( DataSource )serviceLocator.getDataSource(getDataSourceName()); } catch ( NamingException e ) { throw new DAOException( "Failed to lookup DataSource", e ); } }