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 10.2.0.4 and later
Oracle Containers for J2EE - Version 10.1.3.0.0 and later
Information in this document applies to any platform.
***Checked for relevance on 09-Dec-2012***


Goal

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.


Solution

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
Goal
Solution
 Steps
References

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