H jdbc configuration, Appendix h: jdbc configuration, Jdbc – HP Integrity NonStop H-Series User Manual
Page 361: Configuration, Jdbc configuration
H JDBC Configuration
This section describes the consolidated JDBC Type 2 driver configuration and the JDBC Type 4
driver configuration in
hibernate.cfg.xml
and
hibernate.properties
files.
•
JDBC Type 2 driver configurations
The consolidated JDBC Type 2 driver configuration in
hibernate.cfg.xml
is as follows:
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
The SQL/MX settings for JDBC Type 2 driver in
hibernate.properties
appear as follows:
##---------------------------------------------------------------------
# SQL/MX Settings for JDBC Type 2 Driver
hibernate.dialect=org.hibernate.dialect.SqlmxDialect
hibernate.connection.driver_class=com.tandem.sqlmx.SQLMXDriver
hibernate.connection.url=jdbc:sqlmx://
hibernate.connection.username=
hibernate.connection.password=
•
JDBC Type 4 driver configurations
The consolidated JDBC Type 4 driver configuration in
hibernate.cfg.xml
is as follows:
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
The SQL/MX settings for JDBC Type 4 driver in
hibernate.properties
appear as follows:
#----------------------------------------------------------------------
# SQL/MX Settings for JDBC Type 4 Driver
hibernate.dialect=org.hibernate.dialect.SqlmxDialect
hibernate.connection.driver_class=com.tandem.t4jdbc.SQLMXDriver
hibernate.connection.url=jdbc:t4sqlmx://
hibernate.connection.username=
hibernate.connection.password=
361