if (rowData.size() == 0) {
b = false;
} else {
if (!rowData.hasNext()) {
// force scroll past end
rowData.next();
b = false;
} else {
clearWarnings();
thisRow = rowData.next();
b = true;
}
}
>In another e-mail (to me) you said that you were using the 'latest'
>version? Are you absolutely sure (no old ones laying around in your
>CLASSPATH or jre/lib/ext)? If you check line 2421 in ResultSet.java, it is
>the following method code:
>
>if (!reallyResult()) {
> throw new java.sql.SQLException("ResultSet is from UPDATE. No
>Data",
> "S1000");
> }
>
>This calls the 'reallyResult()' method, which returns a boolean. There is
>nowhere in this code that a NullPointerException could be thrown.
Hi Mark,
I've looked at the source code and this snippet is starting from the line
2421:
if (rowData.size() == 0) {
b = false;
} else {
if (!rowData.hasNext()) {
// force scroll past end
rowData.next();
b = false;
} else {
clearWarnings();
thisRow = rowData.next();
b = true;
}
}
I can find the code you mentioned on 2416 line.
Here's the version code from the same java file:
* @version $Id: ResultSet.java,v 1.18.2.1 2003/01/15 22:27:22 mmatthew Exp $
Is it possible that the binary distribution is compiled from another sources
that are packed with it?
Filip
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail