Configurations for Specific JDBC Drivers
■
As an alternative to setting this property, you can create two connection pools, one for
IBM Informix Type 4 Driver
Configure the connection pool using the following settings:
■Name: Use this name when you configure the JDBC resource later.
■Resource Type: Specify the appropriate value.
■Database Vendor: Informix
■DataSource Classname:Specify one of the following:
com.informix.jdbcx.IfxDataSource
com.informix.jdbcx.IfxXADataSource
■Properties:
■serverName - Specify the Informix database server name.
■portNumber - Specify the port number of the database server.
■user - Set as appropriate.
■password - Set as appropriate.
■databaseName - Set as appropriate. This is optional.
■IfxIFXHost - Specify the host name or IP address of the database server.
CloudScape 5.1 Type 4 Driver
The JAR files for the CloudScape driver aredb2j.jar, db2jtools.jar, db2jcview.jar, jh.jar, db2jcc.jar, and db2jnet.jar. Configure the connection pool using the following settings:
■Name: Use this name when you configure the JDBC resource later.
■Resource Type: Specify the appropriate value.
■Database Vendor: Cloudscape
■DataSource Classname: com.ibm.db2.jcc.DB2DataSource
■Properties:
■user - Set as appropriate.
■password - Set as appropriate.
■databaseName - Set as appropriate.
Chapter 3 • JDBC Resources | 61 |