public static Pays selectPaysById(int id)  throws SQLException {
        
        String query = null;      
        Pays pays1 = new Pays();
        ResultSet resultat;
            
        try {
            query = "SELECT * from PAYS where ID_PAYS=? ";

            PreparedStatement pStatement = ConnectionBDD.getInstance().getPreparedStatement(query);
            pStatement.setInt(1, id);
            resultat = pStatement.executeQuery();
          
            while (resultat.next()) {
                //System.out.println(resultat.getString("PAYS"));
                pays1 = new Pays(resultat.getInt("ID_PAYS"), resultat.getString("PAYS"));
                }

        } catch (SQLException ex) {
            Logger.getLogger(RequetesPays.class.getName()).log(Level.SEVERE, null, ex);

        }
        return pays1;

    }