Пример #1
0
 private void prepareConnection() {
   daoHelper = new DaoHelper();
   daoHelper.initConn();
   connection = daoHelper.getConnection();
 }
Пример #2
0
 public UserDaoImpl() {
   daoHelper = new DaoHelper();
   this.connection = daoHelper.getConnection();
 }