Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: configuring arraysize with the jdbc?

Re: configuring arraysize with the jdbc?

From: Lisa Spory <lspory_at_yahoo.com>
Date: Tue, 17 Aug 2004 07:08:29 -0700 (PDT)
Message-ID: <20040817140829.36056.qmail@web53202.mail.yahoo.com>


>From the JDBC Developer's Guide:
 

"Setting the Fetch Size
The following methods are available in all Statement, PreparedStatement, CallableStatement, and ResultSet objects for setting and getting the fetch

size:

 void setFetchSize(int rows) throws SQLException

 int getFetchSize() throws SQLException

To set the fetch size for a query, call setFetchSize() on the statement object prior

to executing the query. If you set the fetch size to N, then N rows are fetched with

each trip to the database..."
- Lisa

ryan.gaffuri_at_comcast.net wrote:
in sql plus I can set the arraysize at the command line. Anyway to do this with the jdbc for straight sql?



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

		
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Tue Aug 17 2004 - 09:05:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US