/[Apache-SVN]
ViewVC logotype

Revision 382917


Jump to revision: Previous Next
Author: kmarsden
Date: Fri Mar 3 19:51:46 2006 UTC (18 years, 1 month ago)
Changed paths: 7
Log Message:
DERBY-618 Make the client driver connection URL work when spaces are in the URL.

Contributed by Deepa Remesh

 Attaching a patch 'derby-618-v2.diff' which includes code change and a test for this issue. Patch does the following:

* Modifies ClientDriver.java - removes the space separator in the call to nextToken in tokenizeDatabase method. This allows use of URL containing database name with spaces.

* Adds tests to jdbcapi/checkDriver.java for an url with spaces in database name. Since embedded and jcc driver work with spaces, I added this test for all three frameworks. Test verfies that the specified database gets created.

* Modifies master files for the test

Ran derbyall with Sun JDK 1.4.2 on Windows XP. I also ran jdbcapi/checkDriver.java with j9 vms. 



Changed paths

Path Details
Directorydb/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientDriver.java modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/checkDriver.out modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/checkDriver.out modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/checkDriver.out modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_13/checkDriver.out modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_22/checkDriver.out modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDriver.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26