Deploying event manager on nonstop, Running eventmanager on nonstop, Jdbc driver for sql/mx database – HP Integrity NonStop J-Series User Manual
Page 106

3.
Copy the eventmanager_script.sql script from the <My SASH
Home>\hibernate\samples\web\dbconfig
Windows directory to the OSS directory
created in step 2.
4.
Go to the OSS directory where the eventmanager_script.sql script is copied, and
create the EventManager database catalog, schema, and tables:
OSS> obey eventmanager_script.sql;
NOTE:
By default, the eventmanager_script.sql script file creates the database catalog
eventcat
and schema eventsch. To use a different database catalog and schema name,
modify:
•
the database catalog and schema names in this file.
•
the database catalog and schema names in the hibernate.properties file in the
<My SASH Home>\hibernate\samples\web\src\main\resources
directory of
the SAMPLES.zip file.
Deploying Event Manager on NonStop
For information on how to deploy EventManager on the NonStop system, see
Applications on NonStop” (page 331)
.
Running EventManager on NonStop
To run EventManager on the NonStop system, click the /<servlet
directory
>/hibernate-tutorial-web-3.5.0-CR-2 path under Applications in the NSJSP Web
Application Manager screen.
You can now add new events such as birthdays, meetings, reminders, and so on.
Configuring Hibernate Applications on NonStop Systems
This section provides information about configuring Hibernate applications on NonStop systems.
This section includes the following sections:
•
“NonStop Platform Configurations” (page 320)
•
“Hibernate Framework Configurations for NonStop Systems” (page 106)
•
“Module File Caching Configurations” (page 330)
•
“Enabling Browse Access” (page 115)
Hibernate Framework Configurations for NonStop Systems
This section discusses the NonStop specific Hibernate configurations for the following:
•
“JDBC Driver for SQL/MX Database” (page 106)
•
“Database Transaction Management” (page 111)
•
“Connection Pooling” (page 112)
All the configurations for JDBC, Transaction Management, and Connection Pooling are configured
in either the hibernate.properties or the hibernate.cfg.xml file.
JDBC Driver for SQL/MX Database
The JDBC driver to be used when a Hibernate application connects to the SQL/MX database must
be specified in the hibernate.cfg.xml or the hibernate.properties file created while
developing the Hibernate application. You can configure Type 2 or Type 4 JDBC Driver. The
following configurations are required:
106 Hibernate Framework