while( result_set.next() ) { ... }
I have use System.nanoTime() and calculated the time, for each iteration the time taken is in mil
System.nanoTime()
Try to change ResultSet fetch size. By default, Oracle JDBC driver receives the result set only 10 rows at a time from the database cursor. It may not significantly improve performance but there arent many other options to make driver work faster.