tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Medina" <gu...@ns2.iiac.net>
Subject Re: Problems with ResultSet
Date Wed, 30 May 2001 06:36:20 GMT
That's what I'm saying with the "snip" example...

Guido.

Java Leader/Network Specialist, CTO, WHS International

----- Original Message -----
From: "Ralph Einfeldt" <ralph.einfeldt@uptime-isc.de>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, May 30, 2001 2:19 AM
Subject: AW: Problems with ResultSet


>
> It can happen with any driver.
>
> That's what JDBC API doc tells:
>
> "For maximum portability, result set columns within each row
>  should be read in left-to-right order, and each column should
>  be read only once."
>
> > -----Urspr√ľngliche Nachricht-----
> > Von: Guido Medina [mailto:guido@ns2.iiac.net]
> > Gesendet: Mittwoch, 30. Mai 2001 07:38
> > An: tomcat-user@jakarta.apache.org; moinanjum@yahoo.com
> > Betreff: Re: Problems with ResultSet
> <snip/>
> > It means that you cannot do the follow with MS Access:
> >
> > Statement st = con.createStatement();
> > ResultSet rs = st.executeQuery("......");
> > while (rs.next()) {
> >    out.println(String a = rs.getString(1));
> >    ...
> >    ...
> >    ...
> >    out.println(String a = rs.getString(1));
> > }
> <snip/>
>


Mime
View raw message