Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC ResultSet Methods

Re: JDBC ResultSet Methods

From: C. Ferguson <c_ferguson_at_rationalconcepts.com>
Date: Mon, 30 Aug 1999 18:29:24 -0700
Message-ID: <37CB2FF4.F7540990@rationalconcepts.com>


Ok Jon,
  The tip was ..."for the Java 2 Platform" but you stated you were doing java1.1.x development.

I just looked at the API for Java 2, and there is a first() and last() method in the ResultSet Class.
So, unless you are ready to move up, next() is the method for you.

Good luck,
Cindy

jjcardella_at_hotmail.com wrote:

> Hi Cindy,
> Well one thing is for sure ... all of this stuff is so new to me! The
> book is "JDBC API Tutorial & Reference, 2nd Ed: Universal Data Access
> for the Java 2 Platform: Includes JDBC 2.0 Core & Standard API
> Extensions."
> Thanks,
> Jon
>
> On Mon, 30 Aug 1999 11:15:59 -0700, "C. Ferguson"
> <c_ferguson_at_rationalconcepts.com> wrote:
>
> >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:
> >
Received on Mon Aug 30 1999 - 20:29:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US