I agree that Shirley needs a JDBC driver which implements the interfaces
provided by JDK1.2. but it should be a DB2 driver, not an Oracle driver:)

>From: Daljit Singh Dhillon <[EMAIL PROTECTED]>
>Hello,
>
>Actually what you need is a database driver that recognises and implements
>the APIs for JDBC 1.2, For oracle yuo can download it from
>technet.oracle.com. Just download it and put it in the accessible
>classpath.
>I think that should do the needful.
>
>=======================
>   It's never too late to begin
>=======================
>----- Original Message -----
>From: Kao, Shirley (Exchange) <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, June 08, 2000 4:31 AM
>Subject: How to test if the ResultSet is empty
>
>
> > I am using IBM Visual Age v3.0 which I believe it has JDBC2.0 because it
> > allows me to use all of new scrollable methods in jdbc v2.0, and
>compiled
> > without errors, but only when I execute my testing servlet I receive
>this
> > error:
> >
> > java.sql.SQLException: This result set is not scrollable.
> >
> > I sent sql to a DB2 application, is DB2 has to be in compliance with the
>new
> > features?  I have included db2java.zip in my classpath, but not sure if
> > there is a newer version of zip file for jdbc2.0.
> >
> > I'd like to use getRow() or the likes to determine if result set is
>null.
> > How can I achieve it?
> >
> > The second question I have is an error:
> >
> > Servlet request terminated with Error:
> > java.lang.AbstractMethodError: getBigDecimal
> >
> > which is thrown when I call the rs.getBigDecimal(columnIndex), it should
>be
> > java.sql.* kind exceptions, shouldn't it?
> >
> > Any of your help and suggestion would be greatly appreciated.
> >
> > Thanks.
> > Shirley Kao
> >
> >
> >
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to