For embedded use:
| Attribute | Value |
|---|---|
| Driver Class | org.apache.derby.jdbc.EmbeddedDriver |
| Class Path | <jarfiledir>derby.jar where c:\jars\derby.jar |
| URL | jdbc:derby:database where database is the database you want to connect to. For example:
|
For Network Server use:
| Attribute | Value |
|---|---|
| Driver Class | org.apache.derby.jdbc.ClientDriver |
| Class Path | <jarfiledir>derbyclient.jar where c:\jars\derbyclient.jar |
| URL | jdbc:derby://server/database where database is the database you want to connect to and server is the machine where the database is running. For example:
|
See http://developers.sun.com/prodtech/javadb/.
Note Ensure that there are no trailing spaces left at the end of the Driver Class value.