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:
- Open the EGL Deployment Descriptor editor by double-clicking
the name of an EGL deployment descriptor.
- Click Resource Bindings.
The Resource Bindings Configuration tab
is displayed.
- Click Add. The Add
a Resource Binding page is displayed.
- Click SQL database binding and then
click Next. The Add
a SQL Database Binding page is displayed.
- On the Add a SQL Database Binding page,
do as follows:
- 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)
- Click New. A New
Connection Profile window is displayed.
- In the New Connection Profile window
do as follows:
- In the Connection Profile Types menu, select the type
of SQL database that you are using.
- In the Name field, type the name
that you want to assign to the connection, or accept the default.
- Optionally, type a description in the Description field.
- Click Next. The Specify
a Driver and Connection Details page is displayed.
- On the Specify a Driver and Connection Details page,
do as follows:
- Select a driver from the drop-down list.
- Optionally, clear the "Connect when the wizard completes" check
box (selected by default).
- Optionally, select the "Connect every time the workbench
is started" check box (cleared by default).
- Click Finish.
In the future, you can update the service binding that you
just defined:
- Open the Resource Bindings tab.
- Select the binding.
- Edit the displayed information.