From oracle-l-bounce@freelists.org Wed Apr 6 11:18:07 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j36GI66K031349 for ; Wed, 6 Apr 2005 11:18:07 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j36GI6em031338 for ; Wed, 6 Apr 2005 11:18:06 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4660E91E4A; Wed, 6 Apr 2005 10:16:02 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32150-05; Wed, 6 Apr 2005 10:16:02 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BF18F913C2; Wed, 6 Apr 2005 10:16:01 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: RE: arraysize setting for JDBC Date: Wed, 6 Apr 2005 17:14:12 +0200 Message-ID: <2CF83791A616BB4DA203FFD13007824A02144373@MSXVS02.trivadis.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: arraysize setting for JDBC Thread-Index: AcU6uXAiy+5MoBtpRE+7aUClPagMLgAAULSQ From: "Christian Antognini" To: Cc: X-archive-position: 18127 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: Christian.Antognini@trivadis.com Precedence: normal Reply-To: Christian.Antognini@trivadis.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on air891.startdedicated.com X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=ham version=2.60 X-Spam-Level: Hi Jaffar >Can any one tell how can we change the arraysize (oracle) for JDBC >connection. What I know is that JDBC arraysize for oracle is 10, for >sqlplus is 15 and etc. I want to increase the arraysize for my JDBC >connection. At connection level you can use: - oracle.jdbc.OracleConnection.setDefaultRowPrefetch() - the property "defaultRowPrefetch" when you get a connection with = oracle.jdbc.DriverManager.getConnection() At statement level you can use: - java.sql.Statement.setFetchSize() In the javadoc you find more info about the different possibilities... HTH Chris -- http://www.freelists.org/webpage/oracle-l