I think that you need to perform

Object obj = rs.getObject(colNum);
if (obj == null) {

}

-----------------------------------------------------
Cristian Saceanu
WebQuote.com Inc.
[EMAIL PROTECTED]

-----Original Message-----
From: Rusmawidya Ustati <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Friday, March 31, 2000 9:42 AM
Subject: Check the JDBC result value


>Hi,
>
>I have a question about a database to servlet connection.
>Does anyone know how to check if a query returns a null value in the
>ResultSet.
>Thanks.
>
>Rusma
>
>___________________________________________________________________________
>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

Reply via email to