Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 61484 invoked from network); 3 Oct 2007 13:44:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 13:44:47 -0000 Received: (qmail 7589 invoked by uid 500); 3 Oct 2007 13:44:26 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 7567 invoked by uid 500); 3 Oct 2007 13:44:26 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 7548 invoked by uid 99); 3 Oct 2007 13:44:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 06:44:26 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [63.82.107.6] (HELO red.amberpoint.com) (63.82.107.6) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 13:44:28 +0000 Received: from [127.0.0.1] (bp-laptop.edgility.com [10.10.11.244]) by red.amberpoint.com (8.14.0/8.12.11) with ESMTP id l93Di6Q9028139 for ; Wed, 3 Oct 2007 06:44:07 -0700 (PDT) Message-ID: <47039CA6.7070406@amberpoint.com> Date: Wed, 03 Oct 2007 06:44:06 -0700 From: Bryan Pendleton User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Derby Discussion Subject: Re: checking if table exists References: <95F9136B-1A7A-414B-8F93-2C37EA4F982E@uni-dortmund.de> <009f01c805b8$ad5417f0$6401a8c0@emea.itt.net> <5C990742-C12A-4637-AC72-E2BD5FB6BBC5@uni-dortmund.de> In-Reply-To: <5C990742-C12A-4637-AC72-E2BD5FB6BBC5@uni-dortmund.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > 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