Dave Tolls wrote:fetchSize does not affect the number of rows returned by your query, it affects the number of rows read by the JDBC driver on a single round trip to the server, of which there may be many for a single query.
Pat Steele wrote:
are both giving me errors. How would I declare a main method for them. Thanks in advance.
how would you put a primitive int into an arraylist that takes Integer objects? If you can answer this, then you should be able to figure out how to put a Callable objects into a queue that takes Runnable objects.