To: [EMAIL PROTECTED]
Subject: How to get rs.last() supported by Tomcat
My problem is to make some JDBC 2.0 API calls such as rs.last(). I have
Tomcat 3.2.1 and JDK 1.3 installed. Source codes are below. Please help.
Jack Li
-
%@ page import="jav
Hello,
I need help on JDBC 2.0.
I have Apache, Tomcat 3.2.1 and jdk1.3. But I can't call JDBC 2.x methods
such as rs.last(). Any ideas?
Thanks,
Jack
First of all are you using a JDBC 2.0 driver? How
are you creating your statement object. By default
statement objects are forward-only. You need use a
onverloaded version of the createStatement() method to
make it scrollable, which is needed for the last()
method. Check the jdk api docs for
t the same code in JSP got no class error message. Do I need to
install JDBC2.0 separately?
Thanks,
Jack
-Original Message-
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 18, 2001 10:11 AM
To: [EMAIL PROTECTED]
Subject: Re: How to get rs.last() supported by Tomcat
Fi
er [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 18, 2001 10:11 AM
To: [EMAIL PROTECTED]
Subject: Re: How to get rs.last() supported by
Tomcat
First of all are you using a JDBC 2.0 driver? How
are you creating your statement object. By default
statement objects are forward-only. Yo
(e.getMessage());
}
out.println("Hello World");
%
-
Thanks,
Jack
-Original Message-
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 18, 2001 11:28 AM
To: [EMAIL PROTECTED]
Subject: RE: How to get rs.las