Re: configuring arraysize with the jdbc?

  • From: Lisa Spory <lspory@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 17 Aug 2004 07:08:29 -0700 (PDT)

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@xxxxxxxxxxx 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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: