Use Classes12.zip which support JDBC2.0 API

Trust this will help

Balkrishna Parab




        -----Original Message-----
        From:   Peter Palombi [SMTP:[EMAIL PROTECTED]]
        Sent:   Monday, March 05, 2001 1:31 AM
        To:     [EMAIL PROTECTED]
        Subject:        [JSP-INTEREST] R: OT:rs.first()

        hi all,

        when i use this command rset.first();
        i receive a error "Unsupported feature"

        i make a connection with a oracle db and i use classes111.zip
        the code is :

        ResultSet rset = stmt.executeQuery(query);
        while(rset.next()) {

        }

        and than
        rset.first();

        where is the troble?

        thanks for the help

        Peter

        -----Messaggio originale-----
        Da: A mailing list about Java Server Pages specification and
reference
        [mailto:[EMAIL PROTECTED]]Per conto di Nishit Trivedi
        Inviato: venerdì 2 marzo 2001 22.54
        A: [EMAIL PROTECTED]
        Oggetto: FW: OT:rs.first()


        and one more thing...
        when I display rs.TYPE_FORWARD_ONLY, it returns me "1003"
        Can somebody tell me what does that mean??..i couldn't find that in
jdk1.2.2
        api...
        thanx
        Nishit

        >  -----Original Message-----
        > From:         Nishit Trivedi
        > Sent: Friday, March 02, 2001 4:50 PM
        > To:   [EMAIL PROTECTED]
        > Subject:      OT:rs.first()
        >
        > sorry for OT...
        >
        > i have this:
        > ----------------------------------------------------------------
        >     ResultSet rs = prStmt.executeQuery();
        >     int rowCount = 0;
        >     while(rs.next()){
        >       rowCount++;
        >     }
        >     out.println("the rs type is :"+rs.getType());
        >     out.println("the rs behavior is :"+rs.TYPE_FORWARD_ONLY);
        >     rs.first();
        >     while(rs.next()){
        >        //store some values in array...
        >     }
        > ----------------------------------------------------------------
        >
        > but when i say rs.first(), and when i view the result in browser(
IE5.0 ),
        > it says :
        > "The exception dbe is:Unsupported feature "
        > The same error is displayed for :
        >     out.println("the rs type is :"+rs.getType());
        >
        > but if i comment it out, there is no display...and i have to use
        > rs.first()...
        > can any body help me...??
        >
        > Nishit Trivedi
        > Software Engineer
        > Planet Access Networks - An InSage Company
        > 973-691-4704 X157
        >


===========================================================================
        To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
        For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST".
        Some relevant FAQs on JSP/Servlets can be found at:

         http://java.sun.com/products/jsp/faq.html
         http://www.esperanto.org.nz/jsp/jspfaq.html
         http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
         http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===========================================================================
        To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
        For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST".
        Some relevant FAQs on JSP/Servlets can be found at:

         http://java.sun.com/products/jsp/faq.html
         http://www.esperanto.org.nz/jsp/jspfaq.html
         http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
         http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to