public TableModel Update() {
        String columnNames[] = { "ID","Nom","Prenom","Situation","Adresse","Classe"};
        DefaultTableModel defModel = new DefaultTableModel();
        defModel.setColumnIdentifiers(columnNames);
    
        try {
            DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
            Connection con = DriverManager.getConnection(DBURL, DBUSER, DBPASS);
            if (con == null)
                System.out.println("con etudiant ko ");
            else
                System.out.println("con etudiant ok ");
            Statement statement = con.createStatement();
            if (statement == null)
                System.out.println("statement etudiant ko ");
            else
                System.out.println("statement etudiant ok ");
            
            //System.out.println("test1 : " + SaisieNom.getText());
            
            ResultSet rs = statement.executeQuery("select * from \"etudiant\" e join \"classe\" c on c.codeclasse=e.codeclasse" );
            //ResultSet rs = statement.executeQuery("select * from \"classe\" where nom='"+SaisieNom.getText()+"'" );
            //ResultSet rs = statement.executeQuery("SELECT table_name FROM user_tables" );
            String idEtudiant = "";
            String nom = "";
            String prenom = "";
            String situation = "";
            String adresse = "";
            String classe = "";
            while (rs.next()) {
                idEtudiant= rs.getString("IDPERS");
                nom= rs.getString("NOM");
                prenom= rs.getString("PRENOM");
                situation= rs.getString("SITUATION");
                adresse= rs.getString("ADRESSE");
                classe= rs.getString("LIBCLASSE");
                
                defModel.addRow(new Object [] {idEtudiant,nom,prenom,situation,adresse,classe} );
                
                
            }
            rs.close();
            statement.close();
            con.close();
        } catch (SQLException ex) {
            Logger.getLogger(Login.class.getName()).log(Level.SEVERE, null, ex);
        }
        return defModel;
        
    }