db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepa Remesh (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-618) Make the client driver connection URL work when spaces are in the URL.
Date Tue, 28 Feb 2006 01:54:10 GMT
    [ http://issues.apache.org/jira/browse/DERBY-618?page=comments#action_12368062 ] 

Deepa Remesh commented on DERBY-618:
------------------------------------

I tried this by removing the space separator in the call to nextToken method in tokenizeDatabase
method in ClientDriver.java. With this change, I am able to create and connect to a database
with spaces in its name. I tried few simple operations like creates, inserts and selects with
the database. 

Trejkaz mentions a getting a disconnect exception when trying some operation with such a database.
From the stack trace, it looks like Trejkaz was getting an exception in the call to DatabaseMetaData.getTables.
I tried this in a small repro and did not get any exception with my patch. Anyone has any
idea what exactly was being done to get the stack trace above ? 

> Make the client driver connection URL work when spaces are in the URL.
> ----------------------------------------------------------------------
>
>          Key: DERBY-618
>          URL: http://issues.apache.org/jira/browse/DERBY-618
>      Project: Derby
>         Type: Improvement
>   Components: Network Client
>     Versions: 10.1.1.0
>     Reporter: Trejkaz
>     Assignee: Deepa Remesh

>
> At present, if I want to connect to a database on a Derby server which has a space in
the path, there is no way to do it.
> This can be done with the embedded driver, and for consistency it would be good if it
worked for the client driver in the same fashion.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message