Hi, all:
    I'm developing servlets combining JDBC. The environment is 
Linux+Apache+Jserv+Oracle.  The JDK's version is 1.2. But I found many methods of JDBC 
don't work. For example:

import java.sql.ResultSet;
...
public void service(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
{
 ...
    Execute some query from my oracle db, and return the result to myResult;
    if( myResult.first())
                      ~~~~It does not work!
    {   ....
        some operation;
       ...
     }
 }
The only method which can work in class ResultSet is next(). Why?
Is my oracle driver too old? I searched the oracle website, they say that their driver 
can support JDBC up to version 1.22. My JDK is 1.2, what's the version of JDBC in it? 
2.0? I'm confused with the JDBC and JDKversion. Or there's some other reasons?

Who can help me?
Thank you!

Ying

___________________________________________________________________________
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