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]

Reply via email to