private void prepareConnection() {
   daoHelper = new DaoHelper();
   daoHelper.initConn();
   connection = daoHelper.getConnection();
 }
Example #2
0
 public UserDaoImpl() {
   daoHelper = new DaoHelper();
   this.connection = daoHelper.getConnection();
 }