[ 
https://issues.apache.org/jira/browse/DERBY-6462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986066#comment-13986066
 ] 

Kim Haase commented on DERBY-6462:
----------------------------------

I am confused about the interaction between the directory subsubprotocol and 
the databaseName in the reference manual topic "Syntax of database connection 
URLs for applications with embedded databases". 

Of the directory subsubprotocol, we say, "The default, which need not be 
specified explicitly. The database is in the file system, and the path is 
either relative to the system directory or absolute."

Of the databaseName, we say, "Specify the databaseName to connect to an 
existing database or a new one.
You can specify the database name alone, or with a relative or absolute path."

If the databaseName can include the path, then what is the directory 
subsubprotocol? In this particular case, should databaseName be just the base 
name of the database, not including the rest of the path?

> 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-3.diff, DERBY-6462-3.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.2#6252)

Reply via email to