Package business

Examples of business.Pari


  }


  /* -------------------------------------------------------------- METHODE */
  public static Pari getPari(int id_pari) {
    Pari pari = null;
   
    try {
      ResultSet rs = null;
     
      synchronized(statementGetPari) {
        statementGetPari.setInt(1, id_pari);
       
        rs = statementGetPari.executeQuery();
      }
     
      if(rs != null && rs.last()) {
        if(rs.getRow() == 1) {
          pari = new Pari(
              rs.getInt("id_pari"),
              rs.getInt("fk_id_utilisateur"),
              rs.getInt("fk_id_passageTrainTheorique"),
              rs.getInt("mise"),
              rs.getInt("retard"),
View Full Code Here


      }
     
      paris = new ArrayList<Pari>();
     
      while(rs.next()) {
        paris.add(new Pari(
            rs.getInt("id_pari"),
            rs.getInt("fk_id_utilisateur"),
            rs.getInt("fk_id_passageTrainTheorique"),
            rs.getInt("mise"),
            rs.getInt("retard"),
View Full Code Here

TOP

Related Classes of business.Pari

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.