diff --git a/src/java/bdd/PompierMySql.java b/src/java/bdd/PompierMySql.java index 3a60702..bb7217d 100644 --- a/src/java/bdd/PompierMySql.java +++ b/src/java/bdd/PompierMySql.java @@ -62,10 +62,10 @@ public class PompierMySql { resultQ.getString("adresse"), resultQ.getString("cp"), resultQ.getString("ville"), - resultQ.getString("bip"), + resultQ.getInt("bip"), resultQ.getInt("nbGardes"), resultQ.getInt("grade"), - resultQ.getString("commentaire") + resultQ.getString("commentaire"), resultQ.getInt("idEmployeur") ); lesPompiers.add(unPompier); @@ -155,11 +155,11 @@ public class PompierMySql { resultQ.getString("adresse"), resultQ.getString("cp"), resultQ.getString("ville"), - resultQ.getString("bip"), + resultQ.getInt("bip"), resultQ.getInt("nbGardes"), resultQ.getInt("grade"), resultQ.getString("commentaire"), - resultQ.getInt("idEmployeur"), + resultQ.getInt("idEmployeur") );