|
Send both the properties specified in the info parameter and those specified in the url to the server in the RDBNAM. user and password attributes will be the exception. user and password will be sent via the standard DRDA mechanism and excluded from the attributes sent with RDBNAM whether specified with the url or info properties. As a result of the combination, the order of attributes sent to the server may be different than originally specified in the URL. Also added additional driver tests and attrbute tests to checkDriver. To answer Piet's question. No . bootPassword is not encrypted. I added a note to
I ran derbyall with this patch and got two failures:
* derbyall/derbynetclientmats/derbynetmats.fail:jdbcapi/checkDriver.java * derbyall/derbynetmats/derbynetmats.fail:jdbcapi/checkDriver.java I think new master files have to be created for DerbyNet and DerbyNetClient frameworks because of addition of tests for Client attributes. I looked at the changes and I have one comment on one of the comments in the code. The comment for 'tokenizeDatabase' method in ClientDriver.java can be changed from "//return database name and attributes" to "//return database name". With the changes for Currently in jdbcapi/checkDriver.java, I see tests only for 'traceFile' property in 'testClientAttributes'. I think it would be good to test some more properties using the Properties object. Thanks Deepa for the review.
I will fix up the code comments. svn add bites me again. On the test, I agree that additional tests for all the attributes should be added, and started to do that, but found When I ran derbyAll, I found there is another problem too with the test that tracefile goes to a different subdirectory based on whether the test is run in a suite or independently. I will fix that too. Checked into the trunk.
Date: Thu Sep 15 05:49:14 2005 New Revision: 289227 URL: http://svn.apache.org/viewcvs?rev=289227&view=rev Log: DERBY-530 ClientDriver ignores Properties object in connect(String url, Properties connectionProperties) method In 1 derbyAll run I saw a failure in DerbyNetAutoStart. It was an exception from network server closing the connections after Derby was intentionally shut down, similar to Probably still to be resolved is what Network Server should do with exceptions that occur before Derby is started or after Derby is shut down. Right now it prints them to the console or System.out if the console is not specified. It seems like it could at least print them to derby.log if only the database and not the engine was shut down. Committed to trunk (2892227) and 10.1 (289672)
Date: Fri Sep 16 15:59:43 2005 New Revision: 289672 URL: http://svn.apache.org/viewcvs?rev=289672&view=rev Log: DERBY-530 ClientDriver ignores Properties object in connect(String url, Properties connectionProperties) method Merge from trunk svn merge -r289226:289227 https://svn.apache.org/repos/asf/db/derby/code/trunk The sending of user/password in RDBNAM is fixed by
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I propose to fix this issue by sending both the properties specified in the info parameter and those specified in the url to the server in the RDBNAM. user and password attributes will be the exception. user and password will be sent via the standard DRDA mechanism and excluded from the attributes sent with RDBNAM whether specified with the url or info properties. As a result of the combination, the order of attributes sent to the server may be different than originally specified in the URL.