}
/* -------------------------------------------------------------- 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"),