Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
10.2.2.0
-
None
-
N/A
-
Low
Description
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;";