Wrong URL in Eclipse-Plugin Lab Example Jays.java
-------------------------------------------------
Key: DERBY-2355
URL: https://issues.apache.org/jira/browse/DERBY-2355
Project: Derby
Issue Type: Bug
Components: Demos/Scripts
Affects Versions: 10.2.2.0
Environment: N/A
Reporter: A. Rick Anderson
Priority: Trivial
In the Eclipse plugin lab, there is a sample file called Jays.java. This file
is part of derby_plugin_lab.zip file. The syntax for the connection URL in
this file is incorrect. This but is particularly troublesome, since the
majority of people using this lab will be unfamiliar with the correct Derby
syntax and the error is a subtle one (a colon, versus a semi-colon).
Current Code:
String derbyClientURL =
"jdbc:derby://localhost:1527/jayDB:user=APP;password=APP;";
Corrected Code:
String derbyClientURL =
"jdbc:derby://localhost:1527/jayDB;user=APP;password=APP;";
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.