C jdbc configuration, Appendix c: jdbc configuration, Jdbc configuration – HP Integrity NonStop H-Series User Manual
Page 167
C JDBC Configuration
This section describes the consolidated JDBC Type 2 driver configuration and the JDBC Type 4
driver configuration in the
applicationContext.xml
and
jdbc.properties
files.
•
JDBC Type 2 driver configurations
The consolidated JDBC Type 2 driver configuration in
applicationContext.xml
is as
follows:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
The SQL/MX settings for JDBC Type 2 driver in
jdbc.properties
appear as follows:
#----------------------------------------------------------------------# SQL/MX Settings for JDBC Type 2
Driver
jdbc.url= jdbc:sqlmx://
jdbc.driver= com.tandem.sqlmx.SQLMXDriver
jdbc.user =
jdbc.password=
•
JDBC Type 4 driver configurations
The consolidated JDBC Type 4 driver configuration in
applicationContext.xml
is as
follows:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
167