Posts by Paulo Mello • 1 point
1 post
-
0
votes3
answers1061
viewsA: While Resultset.next() returning only one result
If a single result is coming and you cannot increment it is enough to exchange while(){} for do-while and ensure that the process runs at least once: private static String pegarTodasAsIdades(String…