9.19.2 DB Connector settings
You implement the DB Connector settings with the server management commands and the HITACHI Connector Property file.
The following table describes the settings in the HITACHI Connector Property file.
|
Specified tags |
Settings |
|---|---|
|
<resource-external-property>-<optional-name> tag |
If the optional name of the resource adapter is used in the data source specification of persistence.xml, the optional name of the resource adapter is set up. If the optional name of the resource adapter is not used in persistence.xml, the settings need not be specified. |
|
<resource-external-property>-<res-auth> tag |
If the optional name of the resource adapter is used in the data source specification of persistence.xml, make sure you specify Container as the resource authentication method. |
|
<resource-external-property>-<res-sharing-scope> tag |
If the optional name of the resource adapter is used in the data source specification of persistence.xml, make sure you specify Shareable to specify whether the resource connections will be shared. |
|
<property>-<property-name> tag <property>-<property-value> tag |
Specify the information for connecting to the database.
|
|
<connection-definition>-<transaction-support> tag |
Specify the transaction support level. Match the value specified here with the value specified in the transaction-type attribute of the <persistence-unit> tag in persistence.xml. |
For details on the HITACHI Connector Property file and the specified tags, see 20.6 HITACHI Connector Property file.