Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: configuring arraysize with the jdbc?
>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?
-- 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
![]() |
![]() |