× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, Paul!  You are absolutely right.

Chris DeLashmutt
Senior R&D Analyst
LeasePlan USA
1165 Sanctuary Pkwy., Alpharetta, GA 30004
Phone: 678-202-8695
Fax: 678-921-4895
ClearCase problems? Check out the LeasePlan ClearCase FAQ for answers!


                                                                                
                                                                  
                      "Clapham, Paul"                                           
                                                                  
                      <pclapham@core-mark        To:       Java Programming on 
and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx>            
                      .com>                      cc:                            
                                                                  
                      Sent by:                   Subject:  RE: Does JDBC have 
client-side and server-side cursors like ADO/O       DBC?           
                      java400-l-bounces@m                                       
                                                                  
                      idrange.com                                               
                                                                  
                                                                                
                                                                  
                                                                                
                                                                  
                      11/03/2004 12:52 PM                                       
                                                                  
                      Please respond to                                         
                                                                  
                      Java Programming on                                       
                                                                  
                      and around the                                            
                                                                  
                      iSeries / AS400                                           
                                                                  
                                                                                
                                                                  
                                                                                
                                                                  




The official JDBC way to limit the size of that "small block of rows" is
via
the setFetchSize(int) method of Statement and ResultSet. However JDBC
drivers aren't required to pay any attention to this method; some do and
some don't.

I looked in the JTOpen documentation and under AS400JDBCStatement I found
this comment under the setFetchSize() method:

<< This setting only affects statements that meet the criteria specified in
the "block criteria" property. The fetch size is only used if the "block
size" property is set to "0". >>

So that suggests to me that jt400's JDBC driver works the same way, and
that
specifying those properties on the connection would probably have some
effect.

PC2

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of CWilt@xxxxxxxxxxxx
Sent: November 3, 2004 09:34
To: java400-l@xxxxxxxxxxxx
Subject: RE: Does JDBC have client-side and server-side cursors like ADO/O
DBC?

Chris,

Thanks for the info.

As far as which driver I'm using, are you looking for version info?  I'm
using the jt400 that comes with iSeries Access v5r3.

Charles Wilt
iSeries Systems Administrator / Programmer Mitsubishi Electric Automotive
America
ph: 513-573-4343
fax: 513-398-1121


> -----Original Message-----
> From: chris.delashmutt@xxxxxxxxxxxxx
> [mailto:chris.delashmutt@xxxxxxxxxxxxx]
> Sent: Wednesday, November 03, 2004 9:39 AM
> To: Java Programming on and around the iSeries / AS400
> Subject: Re: Does JDBC have client-side and server-side cursors like
> ADO/ODBC?
>
>
>
> The short answer is that it depends.
>
> In my experience with Type 4 (remote access) JDBC Drivers, rows sent
> lazily to the client side.  This means that only the data for a row
> (or possibly a small block of rows) is sent to the client at once.
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.