Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 44788 invoked from network); 4 Jul 2005 12:38:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jul 2005 12:38:05 -0000 Received: (qmail 72643 invoked by uid 500); 4 Jul 2005 12:38:04 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 72515 invoked by uid 500); 4 Jul 2005 12:38:02 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 72502 invoked by uid 99); 4 Jul 2005 12:38:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2005 05:38:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [131.162.201.35] (HELO hades.acadiau.ca) (131.162.201.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2005 05:38:03 -0700 Received: from localhost (helios.acadiau.ca [131.162.201.37]) by hades.acadiau.ca (Postfix) with ESMTP id 746D08C2834 for ; Mon, 4 Jul 2005 09:37:43 -0300 (ADT) Received: from hades.acadiau.ca ([131.162.201.35]) by localhost (helios.acadiau.ca [131.162.201.37]) (amavisd-new, port 10026) with LMTP id 87430-02-9 for ; Mon, 4 Jul 2005 09:37:57 -0300 (ADT) Received: from [131.162.167.237] (dyna167-237.acadiau.ca [131.162.167.237]) by hades.acadiau.ca (Postfix) with ESMTP id 936AC8C2832 for ; Mon, 4 Jul 2005 09:37:42 -0300 (ADT) Message-ID: <42C92DA6.90502@acadiau.ca> Date: Mon, 04 Jul 2005 09:37:58 -0300 From: Philip Wilder <050503w@acadiau.ca> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: [jira] Updated: (DERBY-406) Client DataSource should not require user property to be set Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at acadiau.ca X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dan Debrunner wrote: > > > Philip Wilder (JIRA) wrote: > > > [ http://issues.apache.org/jira/browse/DERBY-406?page=all ] > > > > Philip Wilder updated DERBY-406: > > -------------------------------- > > > > Attachment: Derby406_409_410.patch > > > > A Combined patch for DERBY-406, DERBY-409 and DERBY-410 > > So how is this patch different to the one described early? Kathey did a good job of summerizing the additional changes made to this patch in this reply http://mail-archives.apache.org/mod_mbox/db-derby-dev/200507.mbox/%3c42C5A106.5050704@sbcglobal.net%3e You can ignore her mea culpa comments though, I was the one rushing :-) > I would disagree with having a default value for password. Valid disagreement, Kathey was quick to pick up on the same problem. I had misread the code and it was a case of trying to make a right out of 2 wrongs. > [Philip's earlier description] > > - Set password to a default value ("defaultpassword") > > - Set user to default to "APP" > > - Set the default servername to "localhost" > > - Changed the updateDataSourceValues of the ClientBaseDataSource > class to update the password value if a password is found in the > connection attributes. > > - Changed > > databaseName_ = dataSource.getDatabaseName() + attrString; > > to > > databaseName_ = dataSource.getDatabaseName() + ";" + attrString; > > in the connection class to avoid database names like myDBcreate=true > when the setConnectionAttributes method is used. > > - Changed the dataSourcePermissions_net to include additional tests > to check bug fixes and changed the associated.out file to match new > output. > > > > Also with regards to the "Client data source published api javadoc > cleanup" email sent out by Dan I changed the password, user and > servername attributes to private so as to hopefully not conflict with > his changes. > > Actually, performing such a change yourself is more likely to cause > conflict. Just focus on your own changes don't try to pre-incorporate > other changes. :-) > Noted for future reference. If you think it is really a problem I can attempt to "rollback" my patch to a previous (local) version but I think we only have an overlap of about 1/2 dozen lines. > Dan.