beautypg.com

H jdbc configuration, Appendix h: jdbc configuration, Jdbc – HP Integrity NonStop H-Series User Manual

Page 361: Configuration, Jdbc configuration

background image

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">



com.tandem.sqlmx.SQLMXDriver
jdbc:sqlmx://


org.hibernate.dialect.SqlmxDialect


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">



com.tandem.t4jdbc.SQLMXDriver
jdbc:t4sqlmx://:


org.hibernate.dialect.SqlmxDialect


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

This manual is related to the following products: