Use rs.next(). This returns false if it is empty.

        -----Original Message-----
        From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
        Sent:   Tuesday, June 20, 2000 4:40 PM
        To:     [EMAIL PROTECTED]
        Subject:        empty resultset

        Hi,

        I'm using the JDBC:ODBC bridge to access data in an access database.
        Can someone tell me how to check for an empty result set?
        If I use a rs.isBeforeFirst() call it gives me an
        UnsupportedOperationException..
        So it seems that some JDBC functions are not supported by the bridge
:(

        Mark..


===========================================================================
        To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
        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".
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