Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 29323 invoked from network); 6 Oct 2006 02:12:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 02:12:12 -0000 Received: (qmail 19070 invoked by uid 500); 6 Oct 2006 02:12:11 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 19037 invoked by uid 500); 6 Oct 2006 02:12:10 -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 19026 invoked by uid 99); 6 Oct 2006 02:12:10 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 19:12:10 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=dresden1@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_00_10,HTML_MESSAGE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.182.191] ([64.233.182.191:38334] helo=nf-out-0910.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id CA/B0-04543-67BB5254 for ; Thu, 05 Oct 2006 19:12:09 -0700 Received: by nf-out-0910.google.com with SMTP id n29so1079957nfc for ; Thu, 05 Oct 2006 19:12:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TUcLgXzobdfWZZeXQ82w83pDOp5hgjCucAxR1yt0B9AUwROOsUTwnXsUMKoDb1UuQFm4r/S7szUU/5U7nt93gVRbN9IqOgCkJdc48ksC8fB/hEeWKPj2NtCImue6Xea7yTeZN4XHidkPg0wbnc0lo4JsPZUSSqntmuPAXTC9kDY= Received: by 10.78.196.10 with SMTP id t10mr1217489huf; Thu, 05 Oct 2006 19:12:03 -0700 (PDT) Received: by 10.78.128.4 with HTTP; Thu, 5 Oct 2006 19:12:03 -0700 (PDT) Message-ID: Date: Thu, 5 Oct 2006 20:12:03 -0600 From: "Dres Den" To: derby-user@db.apache.org Subject: Newbie question about proper shutdown sequence MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32913_19332778.1160100723551" X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_32913_19332778.1160100723551 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm using Derbie as an embedded database for my single-user, single-threaded, single-everything app. My question is, if I already do a JDBC close (i.e. Connection.close()), do I still have to issue a: DriverManager.getConnection("jdbc:derby:;shutdown=true"); (I know that the ensuing SQLException about Derby shutdown is normal). (PS. I know this is a general JDBC question, but Derby seems like a friendlier place to ask! :)) ------=_Part_32913_19332778.1160100723551 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm using Derbie as an embedded database for my single-user, single-threaded, single-everything app.
My question is, if I already do a JDBC close (i.e. Connection.close()), do I still have to issue a:
DriverManager.getConnection
("jdbc:derby:;shutdown=true");

(I know that the ensuing SQLException about Derby shutdown is normal).

(PS. I know this is a general JDBC question, but Derby seems like a friendlier place to ask! :))
------=_Part_32913_19332778.1160100723551--