Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC ResultSet Methods
Hi Jon,
You don't say what the name of the reference book is, or what version
the book is using. I have a Java1.1 JDBC reference "Database Programming
with JDBC and Java" by George Reese, an O'reilly book, ISBN 1-56592-270-0,
and it does not have these methods defined in the ResultSet Class. You
normally use the next() method to loop through the result set to retrieve
all of the rows returned. Look at the API documentation for java.sql.*.
If you don't have API docs with your IDE, then go to the javasoft web site
and download the documents for jdk1.1.x.
Best of luck,
Cindy
Jon wrote:
> I am writing a GUI using Visual Cafe. The database is Oracle8, and I
> am using the thin JDBC driver (there were two choices 102, and 111 ...
> I'm using 111). I am using a JDBC reference guide, and I noticed that
> some of the methods outlined in the book are not available to me. For
> example, it uses firstrow() and lastrow() as part of ResultSet, but if
> I use these in my application it says they are not there. Does anyone
> know about this?
>
> I'd mention I'm a beginner at all this.
>
> If you could, respond to jjcardella_at_hotmail.com as well ... Thanks!
Received on Mon Aug 30 1999 - 13:15:59 CDT