An SQL database binding gives details necessary
to access an SQL service.
To add an SQL database 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,
you have several options:
If you select the first option, any subsequent change to the Eclipse
connection profile is available to your code at development and deployment
time. After the EGL deployer has packaged the application, though,
the changes have no effect on the deployed code unless you redeploy
the application.
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.