I was curious about these comments:

// If the column at which the value is requested is less than 0
// or if the column is greater than the number of columns, return nothing.

JDBC numbers the columns starting from 1, so what happens if column number
zero is requested?  I didn't have the patience to go through the code to
find out.

PC2

-----Original Message-----
From: Dave Wall [mailto:dawall@us.ibm.com]
Sent: May 28, 2002 10:20
To: java400-l@midrange.com
Subject: RE: Descriptor Index not Valid.



Select * works in JDBC.  I don't see anything wrong with your app.  What
line of code took the exception?  At that point what are the values for
pRow and pColumn?

David Wall
Toolbox for Java
iSeries ODBC Driver for Linux


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.