Package DAO

Examples of DAO.JDBCTableDAO.loadDatas()


      String description = request.getParameter(" DESCRIPTION").toString();
      String requete = "update SITE set ID_SITE=" + idsite + " , TITRE='" + titre + "' , DESCRIPTION='" + description + "'";
      requete = requete + " where ID_SITE=" + idsiteOLD;
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("UTILISATEUR")){
      String login = request.getParameter("LOGIN").toString();
View Full Code Here


      String requete = "update UTILISATEUR set LOGIN='" + login + "' , MDP='" + mdp + "' , DATE_FIN_ABONNEMENT='" + datefinabo + "' , COMPTE_VALIDER="+ comptevalider + " , EMAIL='" + email + "' , NEWS_LETTER="+ newsletter + " , ADMINISTRATEUR=" + admin;
      requete = requete + " where LOGIN='" + loginOLD + "'";
      System.out.println(requete);
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response)
      return;
    }else if(tableName.equals("QUESTION_REPONSE")){
      String num_qr = request.getParameter("NUM_QR").toString();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.