Re: JDBC ResultSet Methods

From: Andre van Dijk <methanic_at_dev.null>
Date: 1999/08/30
Message-ID: <slrn7slmfa.nc.methanic_at_unseen.demon.nl>#1/1


Op Mon, 30 Aug 1999 12:52:44 GMT is het volgende aan Jon ontsproten:
>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.
>

The first() and last() calls are only available in JDBC2.0 included in JDK1.2 JDBC1.0 only supports forward resultsets ie. u can only use next() to traverse the resultset.

Bye.

-- 
Andre van Dijk 
,----------------------------------+-------------+-----------------------.
| mailto:a.vandijk_at_unseen.demon.nl | icq:4249631 | fax:(+31)(0)208833917 |
`----------------------------------+-------------+-----------------------'
You get your b*tch *ss in the kitchen and bake me some pie.
                          -- Cartman, South Park.
Received on Mon Aug 30 1999 - 00:00:00 CEST

Original text of this message