try{ while(rs.next()){ System.out.println("show_result..."); String nom = rs.getString("nom"); System.out.println("nom"); String ville = rs.getString("ville"); System.out.println("ville"); int code_postale = rs.getInt("code_postale"); System.out.println("code_postale"); String type_exploitation = rs.getString("type_exploitation"); System.out.println("type_exploitation"); System.out.println("Nom des exploitations : " + nom + "\nVille :" + ville + "\nCode postale : " + code_postale + "\nType d'exploitation : " + type_exploitation); } } catch(Exception e){ System.out.println("Select Error:"+e); }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question