Package modele

Examples of modele.Historique


  public static ArrayList<Historique> getUsePasswordHistory(String userCode) {

    String sql = "CALL lastuserpasswords('" + userCode + "')";
    ResultSet rs = execute(sql);
    Historique h = null;
    ArrayList<Historique> hpass = new ArrayList<Historique>();

    if (rs != null) {
      try {
        while (rs.next()) {
          h = new Historique();
          h.setUser(getUser(rs.getString(2)));
          h.setPassWord(rs.getString(3));
          h.setCreateDate(rs.getDate(4));
          hpass.add(h);
        }
      } catch (SQLException e) {
        e.printStackTrace();
      }
View Full Code Here

TOP

Related Classes of modele.Historique

Copyright © 2018 www.massapicom. 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.