|
Lily Wei made changes - 16/Jun/09 10:35 PM
Thank you Lily for looking at this issue.
- There is also a file example.html that should be updated. - Regarding the typo's I normally say don't combine changes, but I think this is fine to sneak in. - I noticed nserverdemo also has references to the DB2 driver. Would you like to remove those as well? If so, I think it would be ok to change the summary of this issue to be something more general like "Update demo's to remove references to com.ibm.db2.jcc.DB2Driver" and make those changes under the same issue.
Kathey Marsden made changes - 16/Jun/09 11:01 PM
Lily Wei made changes - 16/Jun/09 11:14 PM
I recompile and run demo for SimpleApp and nserverdemo.
The change for this attempt: 1. Take out all the code and comment relate to DB2 JDBC driver 2. simple/example.html also takes sout reference to DB2 JDBC driver 3. Take out reference to DB2 JDBC driver in nserverdemo/NsSample.java, SimpleNetworkClientSample.java, and nserverdemo/simpleserversample.html,nserverdemo.html 4. Take out reference for NsSampleWork.class from nserverdemo.html Both simple and nserverdemo has comment refer to jcc for username and password. I am not sure the history with it. I am welcome for any good suggestion.
Lily Wei made changes - 18/Jun/09 06:11 AM
Lily Wei made changes - 18/Jun/09 06:12 AM
Thank you Lily for the patch. Below are some comments
NsSample.java: - take out line 45 (default is the derby client JDBC driver) since there is now only one driver possible. - I think we can just remove parseArguments() since we always run with derby client. - This is not related to DB2 but would be a good change to make and I think ok to bundle user/password from cloud/scape to something like derbyuser/pass SimpleApp -noone should be changed to no one or nobody instead of none. -You changed generics to generic but generics was correct. SimpleNetworkClientSample - remove parseArguments since there is just one driver option. example.html - line 351 remove the word "both" Regarding the user and password. It would be good to just use something consistent for all the tests like derbyuser/pass. Thank Kathey for all the good points. I am happy to be part of Derby.
NsSample.java 1. Take out line 45 2. Use user "derbyuser" password "pass" SimpleNetworkClientSample 1. Remove parseArguments 2. Use user "derbyall" password "pass" SimpleApp 1. noone is now no one 2. generics it is. English can be so strange to me from time to time. Hope you are smiling now. examle.html 1. Line 351 does not have both now. I am not looking at othe demo yet. I will definitely use "derbyuser/pass" on demo. I rerun both SimpleApp and nserverdemo example. They behave like before. Should I run suites.all and derbyall for this patch?
Lily Wei made changes - 18/Jun/09 09:59 PM
Lily Wei made changes - 20/Jun/09 03:39 AM
Thanks Lily for the patch. I committed to trunk and 10.5.
Kathey Marsden made changes - 24/Jun/09 08:04 PM
Kathey Marsden made changes - 16/Jul/09 09:24 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There are also some typos in SimpleApp.java. i.e. noone, retreiving, etc. Should I open a new issue for typo issue? I just thought I mention it here too.