Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04A8B100EE for ; Fri, 28 Feb 2014 11:04:30 +0000 (UTC) Received: (qmail 67656 invoked by uid 500); 28 Feb 2014 11:04:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67634 invoked by uid 500); 28 Feb 2014 11:04:28 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 67295 invoked by uid 99); 28 Feb 2014 11:04:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Feb 2014 11:04:24 +0000 Date: Fri, 28 Feb 2014 11:04:24 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6462) Provide more information about database name and path syntax MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915666#comment-13915666 ] Dag H. Wanvik commented on DERBY-6462: -------------------------------------- THanks, Kim. * devguide/cdevdvlp40350.dita: "The database path must not contain a colon (:), except after the drive name in a Windows path. The path separator in the connection URL is / (forward slash), as in the standard file:/ or file:/// URL protocol. (You can specify one forward slash or three, but not two.)" This is a bit misleading, perhaps. We do not allow a standard URL file syntax in the connect statement it seems. ij> connect 'jdbc:derby:file:/tmp/foo'; ERROR 08001: No suitable driver found for jdbc:derby:file:/tmp/foo Perhaps the original reference to forward slash was to explain for Windows users why a forward, not backward slash is required, using analogy to the URL syntax. In the policy files, however, the URL syntax is supported (not parsed by Derby, but by the Java run-time). I suggest removing ", as in ....". > Provide more information about database name and path syntax > ------------------------------------------------------------ > > Key: DERBY-6462 > URL: https://issues.apache.org/jira/browse/DERBY-6462 > Project: Derby > Issue Type: Bug > Components: Documentation > Affects Versions: 10.11.0.0 > Reporter: Dag H. Wanvik > Assignee: Kim Haase > Attachments: DERBY-6462-2.diff, DERBY-6462-2.stat, DERBY-6462-2.zip, DERBY-6462.diff, DERBY-6462.stat, DERBY-6462.zip > > > Except for initial Windows drive letters (e.g. K:/derby), colons break Derby. > Windows can't have colons in directory of file names, so this is a Unix issue. > [http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#file_and_directory_names] -- This message was sent by Atlassian JIRA (v6.1.5#6160)