πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.databases
Article #31

Re: ResulSet.absolute() unsupported?

#31
From: Franck Deliot
Date: Thu, 03 Aug 2000 00:00
29 lines
1873 bytes
Hi,

    I have the same problem with last(), first(), previous(), absolute(),
getRow(). Only next() is working. I use MS SQL 7.0 or Access 97 and I had no
problem with VB 6.0.
    So if someone can help Roland and I...

Franck.
Roland Zumkeller <Roland.Zumkeller@web.de> a οΏ½crit dans le message :
398880B2.D98B1AE7@web.de...
> Hi,
> I'm having problems to do very simple things with a ResulSet: Moving the
> cursor and asking it where it is.
>
>     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
>     Connection conn = DriverManager.getConnection("jdbc:odbc:myDb",
> "sa", "");
>     Statement s = conn.createStatement();
>     ResultSet r = s.executeQuery("SELECT * FROM myTable");
>     r.absolute (1);
>
> When executing this, I'm getting an "UnsupportedOperationException" on
> the absoulte()-method. The same happens when I call getRow(). What am I
> doing wrong? The Database is a MS SQL Server 7.0 and I'm pretty sure it
> supports these things, because I've done them with Visual Basic before.
>
> Thanks,
>
> Roland
Technical Details
Message-ID: <8mc5j2$1cs$1@front4m.grolier.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <398880B2.D98B1AE7@web.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1073da,7d85a1dcaaab897e
X-Google-Attributes: gid1073da,public
X-Google-Thread: 107d46,7d85a1dcaaab897e
X-Google-Attributes: gid107d46,public
From: "Franck Deliot" <franckdt@club-internet.fr>
Subject: Re: ResulSet.absolute() unsupported?
Date: 2000/08/03
Message-ID: <8mc5j2$1cs$1@front4m.grolier.fr>
X-Deja-AN: 654074293
References: <398880B2.D98B1AE7@web.de>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace: front4m.grolier.fr 965319074 1436 213.44.82.54 (3 Aug 2000 16:11:14 GMT)
Organization: Club-Internet (France)
X-MSMail-Priority: Normal
Reply-To: "Franck Deliot" <franckdt@club-internet.fr>
NNTP-Posting-Date: 3 Aug 2000 16:11:14 GMT
Newsgroups: comp.lang.java.databases,borland.public.jbuilder.database