Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 61126 invoked from network); 9 Feb 2006 23:56:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Feb 2006 23:56:08 -0000 Received: (qmail 50233 invoked by uid 500); 9 Feb 2006 23:56:07 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 50209 invoked by uid 500); 9 Feb 2006 23:56:07 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 50198 invoked by uid 99); 9 Feb 2006 23:56:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 15:56:07 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 82D93DC for ; Fri, 10 Feb 2006 00:55:46 +0100 (CET) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Thu, 09 Feb 2006 23:55:46 -0000 Message-ID: <20060209235546.14802.35917@ajax.apache.org> Subject: [Db-derby Wiki] Update of "DatabaseNamesRelativeAbsolute" by SusanCline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by SusanCline: http://wiki.apache.org/db-derby/DatabaseNamesRelativeAbsolute ------------------------------------------------------------------------------ in that they can include the URL path separator character forward slash '/'. - A database name is either relative or absolute. + == Database Names are either relative or absolute == An absolute path corresponds to an absolute path on your file system: - jdbc:derby:/home/fred/databases/projects/cdcollection + {{{jdbc:derby:/home/fred/databases/projects/cdcollection}}} means the top level folder for the database is: - /home/fred/databases/projects/cdcollection + {{{/home/fred/databases/projects/cdcollection}}} A JDBC connection URL of: - jdbc:derby:d:/home/2006/accounts + {{{jdbc:derby:d:/home/2006/accounts}}} means the top level folder for the database is: - d:\home\2006\accounts + {{{d:\home\2006\accounts}}} A relative path is relative to the value of the system property '''derby.system.home''' if it is set, otherwise relative the current working @@ -32, +32 @@ database described above, examples on windows would be similar, including use of the forward slash. + {{{ derby.system.home=/home/fred/databases jdbc:derby:projects/cdcollection @@ -42, +43 @@ jdbc:derby:databases/projects/cdcollection current working directory = /home/fred/databases/projects - jdbc:derby:cdcollection + jdbc:derby:cdcollection}}} This wiki entry is originally from a post by Dan Debrunner on the derby-users mailing list on February 1, 2006.