Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 54196 invoked from network); 9 Aug 2007 20:31:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Aug 2007 20:31:38 -0000 Received: (qmail 64001 invoked by uid 500); 9 Aug 2007 20:31:36 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 63652 invoked by uid 500); 9 Aug 2007 20:31:35 -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 63641 invoked by uid 99); 9 Aug 2007 20:31:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 13:31:35 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 20:31:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IJEex-0004w9-1f for derby-user@db.apache.org; Thu, 09 Aug 2007 13:31:07 -0700 Message-ID: <12080193.post@talk.nabble.com> Date: Thu, 9 Aug 2007 13:31:07 -0700 (PDT) From: Teja To: derby-user@db.apache.org Subject: check if DB exists already? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: teja@synapse.ws X-Virus-Checked: Checked by ClamAV on apache.org How do I check if the database exists already? I know create=true in the connection url creates if db doesn't exist and throws a SQLWarning if exists already, but is there a way to know for sure that a database exists already before connecting? -- View this message in context: http://www.nabble.com/check-if-DB-exists-already--tf4245044.html#a12080193 Sent from the Apache Derby Users mailing list archive at Nabble.com.