Connection Tab

Use the following information to complete fields on the Connection subtab:

Field | Description
--- | ---

Database Driver Foot 1

Specify the appropriate database driver:

- Driver Manager: Specify this option to configure the driver class and URL used to connect to the database. In this case, you must configure the Driver Class and Driver URL fields.

- J2EE Datasource: Specify this option to use a J2EE data source already configured on your target application server. In this case, you must configure the Datasource Name field.

Note: If you select J2EE Datasource, you must use external connection pooling. You cannot use internal connection pools with this Database Driver option (for more information, see "Configuring External Connection Pooling").

Driver Class Footref 1 | Configure this field when Database Driver is set to Driver Manager. Select from the menu of options. This menu includes all JDBC drivers in the TopLink application classpath.
URL Footref 1 | Configure this field when Database Driver is set to Driver Manager. Select from the menu of options relevant to the selected Driver Class and edit the URL to suit your data source.

Datasource Name Footref 1

Configure this field when Database Driver is set to J2EE Datasource. Specify any valid JNDI name that identifies the J2EE data source preconfigured on your target application server (For example: `jdbc/EmployeeDB`).

By convention, all such names should resolve to the JDBC subcontext (relative to the standard `java:comp/env` naming context that is the root of all provided resource factories).

Connection Specification Class Foot 2

Specify the appropriate connection specification class for the selected Platform. Click Browse to choose from all the classes in the TopLink classpath. (For example: if Platform is `oracle.toplink.eis.aq.AQPlatform`, use `oracle.toplink.eis.aq.AQEISConnectionSpec`).

For more information on platform configuration, see "Configuring an EIS Data Source Platform at the Session Level".

Connection Factory URL Footref 2 | Specify the appropriate connection factory URL for the selected Connection Specification Class (For example: `jdbc:oracle:thin@:localhost:1521:orcl`).

Footnote 1 For sessions that contain a `DatabaseLogin`.

Footnote 2 For sessions that contain an `EISLogin`.

See Also

  Configuring Connection Pool Connection Options