}
/* -------------------------------------------------------------- METHODE */
public static Defi getDefi(int id_defi) {
Defi defi = null;
try {
ResultSet rs = null;
synchronized(statementGetDefi) {
statementGetDefi.setInt(1, id_defi);
rs = statementGetDefi.executeQuery();
}
if(rs != null && rs.last()) {
if(rs.getRow() == 1) {
defi = new Defi(
rs.getInt("id_defi"),
rs.getInt("fk_id_demandeur"),
rs.getInt("fk_id_cible"),
rs.getInt("fk_id_pariDemandeur"),
rs.getInt("fk_id_pariCible"),