The "Accessing databases from the classpath" section of the Derby Developer's Guide says that you can access a database on the classpath by putting a forward slash in front of the database name (and then adding other path legs as needed). I don't find that it works this way. I ran the following experiment:
1) I put a database called nast in the testRun/extin subdirectory of the current directory.
2) Then I put testRun/extin on the classpath.
3) Then I tried connecting to the database with various URLs.
The following URLs could not find the database:
But the following URL found the database:
This is not what I expected from the documentation in the Developer's Guide.
|Workflow||jira [ 12653152 ]||Default workflow, editable Closed status [ 12796775 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Issue & fix info||Patch Available [ 10102 ]|
|Fix Version/s||10.9.0.0 [ 12316344 ]|
|Resolution||Fixed [ 1 ]|
|Issue & fix info||Repro attached,Patch Available [ 10424,10102 ]||Patch Available [ 10102 ]|
|Issue & fix info||Repro attached [ 10424 ]||Patch Available,Repro attached [ 10102,10424 ]|
|Assignee||Kim Haase [ chaase3 ]|