aspose file tools
The moose likes JDBC and the fly likes Problem with resultset FetchSize() method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Problem with resultset FetchSize() method " Watch "Problem with resultset FetchSize() method " New topic
Author

Problem with resultset FetchSize() method

Vikas
Greenhorn

Joined: Feb 20, 2003
Posts: 5
I am making call to stored procedure.I have set the fetchsize of result set to 1000.Even though the size is set , for first fetch only 10 records are fectched which is default size and for next fetch 1000 records are returned.
I am using Tomcat web server and oci driver.
Can anyone pls help me i need all 1000 records in first fetch
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

Vikas:
Howdy and Welcome to the JavaRanch! We hope you’ll enjoy visiting the site on a regular basis, however, your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!
Jamie
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem with resultset FetchSize() method
 
Similar Threads
Interview ques
how much fetchSize(??) should i set?
time taken in rs.next()
preparedStatement.executeQuery() not returning , not even showing any error
Setting fetch size for fast retrieval of data