HP Integrity NonStop J-Series User Manual
Page 215

3.
Modify the hibernate.properties file depending on the JDBC driver type you plan to
use.
•
To use the JDBC Type 2 driver, the SQL/MX settings for JDBC Type 2 driver in the
hibernate.properties
file must appear as:
#----------------------------------------------------------------------------
# SQL/MX Settings for JDBC Type 2 Driver
hibernate.connection.driver_class=com.tandem.sqlmx.SQLMXDriver
hibernate.connection.url=jdbc:sqlmx://
hibernate.connection.username=
hibernate.connection.password=
hibernate.connection.catalog=employeeinfocat
hibernate.connection.schema=employeeinfosch
NOTE:
Because JDBC Type 2 driver is located on the NonStop system, you need not
type the username and password in the jdbc.username and jdbc.password fields.
•
To use the JDBC Type 4 driver, the SQL/MX settings for JDBC Type 4 driver in the
hibernate.properties
file must appear as:
#----------------------------------------------------------------------------
# SQL/MX Settings for JDBC Type 4 Driver
hibernate.connection.driver_class= com.tandem.t4jdbc.SQLMXDriver
hibernate.connection.url= jdbc:t4sqlmx://
hibernate.connection.username=
hibernate.connection.password=
hibernate.connection.catalog=employeeinfocat
hibernate.connection.schema=employeeinfosch
NOTE:
◦
If you are using the JDBC Type 4 driver, type the JDBC URL (NonStop system IP
Address and Port Number of the JDBC data source), NonStop system username, and
password.
◦
The name of the database catalog used in the example is employeeinfocat and
the schema name is employeeinfosch. If these database catalog and schema
names conflict with any of the existing catalog and schema names on the NonStop
system, modify the database catalog and schema names in the
hibernate.properties
file.
This completes the development of the EmployeeInfo project. The structure of the EmployeeInfo
project must appear as follows:
Overview of EmpIoyeeInfo
215