dbTalk Databases Forums  

Help with JDBC

comp.database.oracle comp.database.oracle


Discuss Help with JDBC in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nospam
 
Posts: n/a

Default Help with JDBC - 04-14-2005 , 09:31 PM






Hello all,

I have a question about the Oracle 10g thin JDBC driver. I was
wondering if anyone knows what the default prefetch size is (in number
of rows). Also, does anyone know if an entire packet is sent (i.e.
padded with null values) if there is not enough data to fill it?

Thanks for your help!

ty

Reply With Quote
  #2  
Old   
Lewis C
 
Posts: n/a

Default Re: Help with JDBC - 04-15-2005 , 04:10 AM






On Thu, 14 Apr 2005 22:31:30 -0400, nospam <nospam (AT) goaway (DOT) com> wrote:

Quote:
Hello all,

I have a question about the Oracle 10g thin JDBC driver. I was
wondering if anyone knows what the default prefetch size is (in number
of rows). Also, does anyone know if an entire packet is sent (i.e.
padded with null values) if there is not enough data to fill it?

Thanks for your help!

ty
Oracle defaults the prefetch to 10 rows. You can modify that using
setRowPrefetch.

I don't believe it will pad if not found. Seems kind of silly if it
did. Wouldn't it then have null rows in the rowset? That's just a
guess on my part though.

Lewis

-----------------------------------------------------------
Lewis R Cunningham

Author, ItToolBox Blog: An Expert's Guide to Oracle
http://blogs.ittoolbox.com/oracle/guide/

Topic Editor, Suite101.com: Oracle Database
http://www.suite101.com/welcome.cfm/oracle

Sign up for courses here:
http://www.suite101.com/suiteu/default.cfm/416752
-----------------------------------------------------------


Reply With Quote
  #3  
Old   
nospam
 
Posts: n/a

Default Re: Help with JDBC - 04-16-2005 , 01:59 PM



Thanks for your help Lewis!

ty

In article <3s0v51t8t2p2pa32e5i3q57u9nkpulct1h (AT) 4ax (DOT) com>, Lewis C
<lewisc (AT) excite (DOT) com> wrote:

Quote:
On Thu, 14 Apr 2005 22:31:30 -0400, nospam <nospam (AT) goaway (DOT) com> wrote:

Hello all,

I have a question about the Oracle 10g thin JDBC driver. I was
wondering if anyone knows what the default prefetch size is (in number
of rows). Also, does anyone know if an entire packet is sent (i.e.
padded with null values) if there is not enough data to fill it?

Thanks for your help!

ty

Oracle defaults the prefetch to 10 rows. You can modify that using
setRowPrefetch.

I don't believe it will pad if not found. Seems kind of silly if it
did. Wouldn't it then have null rows in the rowset? That's just a
guess on my part though.

Lewis

-----------------------------------------------------------
Lewis R Cunningham

Author, ItToolBox Blog: An Expert's Guide to Oracle
http://blogs.ittoolbox.com/oracle/guide/

Topic Editor, Suite101.com: Oracle Database
http://www.suite101.com/welcome.cfm/oracle

Sign up for courses here:
http://www.suite101.com/suiteu/default.cfm/416752
-----------------------------------------------------------

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.