HP Integrity NonStop H-Series User Manual
Page 152

•
Include the Hibernate SQL/MX dialect file (
hibernate3sqlmx.jar
)
•
Include the Commons DBCP JAR file (
commons-dbcp.jar
)
NOTE:
The
build.xml
file in the Spring distribution has been customized for JDBC Type 2
driver and is provided as the
build_jdbct4.xml
file in the
SAMPLES.zip
file.
Changes to the
build_jdbc4.xml
file
The changes to the
build_jdbct4.xml
file are as follows:
1.
The
spring.root
property was updated with the
<Spring Home>
directory.
For example:
Before updating, the
spring.root
property in the
build_jdbct4.xml
file appeared
as:
<property name="spring.root" value="../.."/>
After updating, the
spring.root
property in the
build_jdbct4.xml
file appeared as:
<property name="spring.root" value="<Spring Home>”/>
2.
The
jdbct4.root
property tag was added and the
<JDBC T4 installation
directory>
was specified.
For example, after adding the
jdbct4.root
property in the
build_jdbct4.xml
file:
<property name="jdbct4.root" value="<JDBC T4 installation directory>”/>
3.
The path of the JDBC/MX Type 4 driver (
t4sqlmx.jar
) was set.
•
<path id="test-classpath">
contains multiple
<fileset>
tags. A new
<fileset>
tag was added to specify the path of the JDBC/MX Type 4 JAR file location
under the
<path>
tag:
<path id="test-classpath">
<fileset dir="${jdbct4.root}/lib">
<include name="t4sqlmx.jar"/>
</fileset>
….
….
</path>
•
Similarly, a new
<fileset>
tag was added to specify the path of the JDBC/MX Type
4 driver location under the
<copy>
tag:
<copy todir="${weblib.dir}" preservelastmodified="true">
<fileset dir="${jdbct4.root}/lib">
<include name="t4sqlmx.jar"/>
</fileset>
….
….
</copy>
4.
The path of the Hibernate SQL/MX dialect JAR file (
hibernate3sqlmx.jar
) was set.
•
<path id="test-classpath">
contains multiple
<fileset>
tags. A new
<fileset>
tag was added to specify the path of the Hibernate dialect JAR file location
under the
<path>
tag:
<path id="test-classpath">
<fileset dir= “./etc”>
<include name="hibernate3sqlmx.jar"/>
</fileset>
….
….
</path>
•
Similarly, a new
<fileset>
tag was added to specify the path of the SQL/MX JDBC
driver location and the Hibernate dialect
JAR
file location under the
<copy>
tag:
152
Customizing Sample Applications