Define a driver to connect to Apache Derby.
A driver definition contains the location of required driver files.
- Select from the main menu bar.
The Database Development perspective opens.
- Select from the main menu bar.
The Preferences dialog opens.
- Expand Connectivity in the left pane and select Driver Definitions.
A list of driver defintions appears in the right pane.
- Expand Derby, expand 10.1, select Derby Embedded JDBC Driver, and click Add.
The New Driver Defintion wizard opens.
- (Optional.) Type a new name for the driver in the Driver Name field.
- Click OK.
The Driver Details wizard opens.
- Delete the sample derby.jar location and type the location that points to your Apache Derby install.
An embedded Apache Derby database does not require a user name and password.
- (Optional.) Change the URL to point to another location for the embedded database.
- Click OK.
A driver defintion is created that allows you to connect to Apache Derby.