I've this code with 3 results, but system show only one...
Map<String, String> mappaValori = tvo.getTableColumn();
while (resultSet.next()) {
for (String colonnaString : mappaValori.keySet()) {
valueString = resultSet.getString(colonnaString);
keyString = colonnaString;
mappaReturn.put(keyString, valueString);
}
}
Any idea?
Very thanks to all (I'm ironic)!
I don't know why some person click on -1 but I've the solution!
I share this:
When resultset.next(), the map overwrites result and show only one row .