[ 
https://issues.apache.org/jira/browse/DERBY-6459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim Haase updated DERBY-6459:
-----------------------------

    Attachment: DERBY-6459.stat
                DERBY-6459.diff

Attaching DERBY-6459.diff and DERBY-6459.stat, making changes to the demo 
source files and their documentation:

M       java/demo/workingwithderby/WwdEmbedded.java
M       java/demo/workingwithderby/WwdClientExample.java
M       java/demo/workingwithderby/readme.html
M       java/demo/navbar.html
D       java/demo/vtis/README
A       java/demo/vtis/README.html
M       java/demo/demo.html
M       java/demo/simple/example.html
M       java/demo/simple/SimpleApp.java
M       java/demo/nserverdemo/readme.html
M       java/demo/nserverdemo/NsSample.java
M       java/demo/nserverdemo/SimpleNetworkServerSample.java
M       java/demo/nserverdemo/SimpleNetworkClientSample.java
M       java/demo/nserverdemo/simpleserversample.html
M       java/demo/nserverdemo/NsSampleClientThread.java
M       java/demo/nserverdemo/nserverdemo.html
D       java/demo/scores/README
M       java/demo/scores/customizeMe.properties
A       java/demo/scores/README.html
M       
java/demo/scores/java/server/org/apache/derbyDemo/scores/proc/Functions.java
M       
java/demo/scores/java/client/org/apache/derbyDemo/scores/data/Database.java

This included a number of fixes to the various readmes and some tidying up of 
code and comments where I could not resist the temptation, in addition to 
removing the code that unnecessarily loaded a driver. I also updated the 
version of Jakarta Commons Math used in the scores demo.

> Remove Class.forName calls that load JDBC driver from Derby samples/demos
> -------------------------------------------------------------------------
>
>                 Key: DERBY-6459
>                 URL: https://issues.apache.org/jira/browse/DERBY-6459
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Demos/Scripts
>    Affects Versions: 10.11.0.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>         Attachments: DERBY-6459.diff, DERBY-6459.stat
>
>
> Several of the Derby samples and demos call Class.forName to load the JDBC 
> driver, although this is not necessary at Java SE 6 and later. Since at 10.11 
> we won't support versions of the platform earlier than JDK 6, these calls 
> should be removed from the samples (and any mention of them removed from the 
> accompanying documentation).
> There are calls to Class.forName that load other objects besides the driver; 
> I assume these are still needed, but if not, they could be replaced with 
> something more current.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to