ResultSet の働きを深く知りたいと思っています。ResultSet に関して多くの疑問があります。どちらが優れているかなどのパフォーマンス。
while(rs.next())
{
// iterate as well as do call some other functions.
}
or
while(rs.next())
{
// iterate and store the column values in a map
}
// do functions using the map.
テーブルは他の多くの並行プログラムによってアクセスされるためです。