Adding an SQL binding to the EGL deployment descriptor

An SQL service binding gives details necessary to access an SQL service.

To add an SQL binding to an EGL deployment descriptor, do as follows:
  1. Open the EGL Deployment Descriptor editor by double-clicking the name of an EGL deployment descriptor.
  2. Click Resource Bindings. The Resource Bindings Configuration tab is displayed.
  3. Click Add. The Add a Resource Binding page is displayed.
  4. Click SQL database binding and then click Next. The Add a SQL Database Binding page is displayed.
  5. On the Add a SQL Database Binding page, do as follows:
    1. Select one of the following radio buttons:
      • Reference the selected workspace connection below (retrieved at run time)
      • Add the information from the selected connection below (hard-coded information)
    2. Click New. A New Connection Profile window is displayed.
  6. In the New Connection Profile window do as follows:
    1. In the Connection Profile Types menu, select the type of SQL database that you are using.
    2. In the Name field, type the name that you want to assign to the connection, or accept the default.
    3. Optionally, type a description in the Description field.
    4. Click Next. The Specify a Driver and Connection Details page is displayed.
  7. On the Specify a Driver and Connection Details page, do as follows:
    1. Select a driver from the drop-down list.
    2. Optionally, clear the "Connect when the wizard completes" check box (selected by default).
    3. Optionally, select the "Connect every time the workbench is started" check box (cleared by default).
    4. Click Finish.
In the future, you can update the service binding that you just defined:
  1. Open the Resource Bindings tab.
  2. Select the binding.
  3. Edit the displayed information.