Código:
ResultSet rs = obtenerResultSet(SQL);
try {
while (rs.next()) {
// dentro del while
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClassCastException e) {
System.out.println("Error");
} catch (ClassNotFoundException e) {
System.out.println("No existe la clase");
} catch (Exception e) {
System.out.println("Error:" + e.getMessage());
}
funcionaba hasta hace unos dias y realmente no se que toqué.
Gracias

