public class Combo {
public void list() throws SQLException{
ResultSet rs=connexion.getStats().executeQuery("select * from GROUP_FILIÈRE ");
// ResultSetMetaData rsm=rs.getMetaData();
String nom_fil[] = null; int i=0;
while( rs.next()){
nom_fil[i]=rs.getObject(1).toString();
System.out.println(' '+nom_fil[i]);
i ++;
}
}
public static void main(String args[]) throws SQLException{
Combo cb=new Combo();
cb.list();
}
}
the problem is i don't know where is the problem
but what i want to do is geting some informations from database in a procedure and call this procedure in main