public int[] resultset(String table,String column){
DBInterface ids = new DBInterface();
ids.connect();
int[] resultset=new int[count(table)];
String select="SELECT "+column+" FROM "+table;
ResultSet rset=ids.readQuery(select);
while (rset.next()) { // -> "Unhandled exception type SQLException"
}
ids.disconnect();
System.out.println("Sto prelevando i dati: ->"+resultset);
return resultset=null;
}
Ricevo l'errore in corrispondenza di ogni accesso al resultset