It's a classic! You should submit the conversation to http://worsethanfailure.com/.
Gary Evesson Decentrix Inc -----Original Message----- From: gb1071nx [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 12:13 PM To: Tomcat Users List Subject: RE: Null Sigh. > -----Original Message----- > From: domenico di leo [mailto:[EMAIL PROTECTED] > Sent: Friday, June 29, 2007 1:10 PM > To: Tomcat Users List > Subject: Re: Null > > Obviovusily you don't compare two string in this way! > > if (null == rs.getString("col_foo")) > > The right manner is: > > if (rs.getString("col_foo").equals("null")){ > .. > } > > Your problem is Java not database > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature