public static List<Pays> selectPays()  throws SQLException {
      
        String query = null;
        List<Pays> pays1 = new ArrayList<Pays>();
        ResultSet resultat;
        try {
           
            query = "SELECT * from PAYS ";
            PreparedStatement pStatement = (PreparedStatement) ConnectionBDD.getInstance().getPreparedStatement(query);
            resultat = pStatement.executeQuery(query);

            while (resultat.next()) {
               // System.out.println(resultat.getString("PAYS"));
                Pays pp = new Pays(resultat.getInt("ID_PAYS"), resultat.getString("PAYS"));
                pays1.add(pp);
            }

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

        }
        
        return pays1;

        
    }