*
The moose likes JDBC and the fly likes Problem with resultset FetchSize() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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://aspose.com/file-tools
 
subject: Problem with resultset FetchSize() method
 
Similar Threads
preparedStatement.executeQuery() not returning , not even showing any error
how much fetchSize(??) should i set?
time taken in rs.next()
Interview ques
Setting fetch size for fast retrieval of data