you shouldn't confuse the version numbers of jdbc with the version
numbers of jdk.
If you use Oracle, you must have both of jdbc clients (thin and oci) in
your
oracle software.
If not, you can download it from the web site of oracle.
Mustafa
> [EMAIL PROTECTED] schrieb:
>
> Hi,
> JDK does not include a JDBC implementation. So you are using a JDBC
> driver
> by some other vendor. JDBC drivers may not implement all the methods
> specified in JDBC API. So first determine which driver you are using,
> check
> the API (of the driver you are using) to see which methods it
> implements.
>
> -----Original Message-----
> From: su ying [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 11, 2000 7:54 AM
> To: [EMAIL PROTECTED]
> Subject: JDBC and JDK version? Help!
>
> 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
>
> ---------------------------------------------------------------
>
> Hi,
> JDK does not include a JDBC implementation. So you are using a JDBC
> driver by some other vendor. JDBC drivers may not implement all the
> methods specified in JDBC API. So first determine which driver you are
> using, check the API (of the driver you are using) to see which
> methods it implements.
>
> -----Original Message-----
> From: su ying [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 11, 2000 7:54 AM
> To: [EMAIL PROTECTED]
> Subject: JDBC and JDK version? Help!
>
> 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
___________________________________________________________________________
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