ResultSet motcle = bd.getQuery(mareq);
while (motcle.next())
{
System.out.println(motcle.getString(0));
}
bd.disconnect();
j'ai une erreur sur motcle.next() et sur motcle.getString :
Projet/Arborescence/monFichier.java [114:1] unreported exception java.sql.SQLException; must be caught or declared to be thrown
while (motcle.next())
^
Projet/Arborescence/monFichier.java [116:1] unreported exception java.sql.SQLException; must be caught or declared to be thrown
System.out.println(motcle.getString(0));
^
2 errors
Estce que qqu'un aurait une bonne idée ??
Cordialement,
Dinous