My Oracle Support Banner

Setting the JDBC Fetch Size Parameter "getDefaultRowPrefetch" in an OC4J Datasource (Doc ID 732917.1)

Last updated on APRIL 06, 2018

Applies to:

JDBC - Version and later
Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.
***Checked for relevance on 09-Dec-2012***


There is a property in JDBC named "defaultRowPrefetch" that sets the number of result set rows prefetched when an SQL query is submitted to the database.

The default prefetch from the server is 10. It is possible to change the default setting using an OC4J Datasource.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.