×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




I am getting a "java.sql.SQLException: Descriptor index not valid." Error.
Anyone have any suggestions how to get rid of this?
I am trying to extend the AbstractTableModel and write a custom table model
and display a JTable that displays data from the iSeries 400. I am getting
this error when the following is executed:

validRow = getResultSet().next()

if (validRow)

// store row in the dummy row vector.
//
...
...
...

there are two rows in the table. Both of them are retrieved. When I try to
get the third row, I get the Descriptor Index Not Valid error.
I am using Eclipse and imported(actually I had to copy the class files into
the workspace) the ET400 classes.

Thanks in advance.



This thread ...


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

This mailing list archive is Copyright 1997-2026 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.