db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: checking if table exists
Date Wed, 03 Oct 2007 13:44:06 GMT
>             while((result.next()) & (tableExists = false)) {

Is this possibly a typo? Make sure it says:

              while((result.next()) && (tableExists == false)) {

You want to do a logical and, not a bitwise and; also you want
to do a comparison, not an assignment.

thanks,

bryan



Mime
View raw message