Creating a Driver Definition for Apache Derby

Define a driver to connect to Apache Derby.

A driver definition contains the location of required driver files.
  1. Select Window > Open Perspective > Database Development from the main menu bar.

    The Database Development perspective opens.

  2. Select Window > Preferences from the main menu bar.

    The Preferences dialog opens.

  3. Expand Connectivity in the left pane and select Driver Definitions.

    A list of driver defintions appears in the right pane.

  4. Expand Derby, expand 10.1, select Derby Embedded JDBC Driver, and click Add.

    The New Driver Defintion wizard opens.

  5. (Optional.) Type a new name for the driver in the Driver Name field.
  6. Click OK.

    The Driver Details wizard opens.

  7. 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.

  8. (Optional.) Change the URL to point to another location for the embedded database.
  9. Click OK.

    A driver defintion is created that allows you to connect to Apache Derby.

Related concepts
Apache Derby
Database Development Perspective