uCosminexus Application Server, Expansion Guide

[Contents][Index][Back][Next]

2.7.3 Types of DB Connector (RAR file)

When connecting to a database by using DB Connector, you use a RAR file appropriate to the JDBC driver to be used. You use the server management commands to operate the RAR file. For details on how to operate the RAR files by using the server management commands, see 4. Setting a resource adapter in the uCosminexus Application Server Application Setup Guide.

The following table describes the types of JDBC driver and RAR files that you can use on a batch server:

Table 2-20 Mapping of JDBC drivers and RAR files

JDBC driver RAR file Explanation
HiRDB Type4 JDBC Driver DBConnector_HiRDB_Type4_CP.rar This RAR file is used to connect to HiRDB and XDM/RD E2. Use this file when you do not perform transaction management or use local transactions.
Oracle JDBC Thin Driver DBConnector_Oracle_CP.rar This RAR file is used to connect to Oracle. Use this file when you do not perform transaction management or use local transactions.
DBConnector_CP_ClusterPool_Root.rar This RAR file is used to connect to Oracle.
You use the file in the following cases:
  • When using a root resource adapter in cluster connection pool functionality
  • When a member resource adapter belonging to the root resource adapter does not have local transactions or transaction management
DBConnector_Oracle_CP_ClusterPool_Member.rar This RAR file is used to connect to Oracle.
You use the file in the following cases:
  • When using a member resource adapter in cluster connection pool functionality
  • When a member resource adapter belonging to the root resource adapter does not have local transactions or transaction management
You cannot use this file by setting to resource references of J2EE application.
JDBC driver of SQL Server DBConnector_SQLServer_CP.rar This RAR file is used to connect to SQL Server (only in Windows). Use this file when you do not perform transaction management or use local transactions.

# When using a new RAR file of DB Connector, you can use a template file of the HITACHI Connector Property file provided with Application Server and define properties. The template file of the HITACHI Connector Property file is provided for RAR files of all DB Connectors. For details on the provided template files, see 4.1.14 Template files of Connector property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.