Previous Topic: How to Configure the Target EnvironmentNext Topic: DataSource Method


DriverManager Method

This method is simple to set up. However, it does not allow for two-phase commits, Application Server connection pooling, or participating in Java Transaction Architecture (JTA) transactions. To use the DriverManager approach in Java applications, the following steps must be performed to set up the Application Server machine:

For each DBMS to be accessed from all applications running under the Application Server, some configuration properties should be added. Each property name is created using the database name, as the CA Gen Model understands it. This name may not be the name of the actual physical database, but is treated more as a logical database name to the application.

Any of the following four tokens in the jdbccfg.properties file may be specified for each logical database (where xxxxx represents the logical database name):

The following are some examples using a database named GENDB and an Oracle driver: