Build_jdbct4.xml – HP Integrity NonStop H-Series User Manual
Page 151
![background image](/manuals/397675/151/background.png)
NOTE:
The
build.xml
file in the Spring distribution has been customized for the JDBC Type
2 driver and is provided as the
build_jdbct2.xml
file in the
SAMPLES.zip
file.
Changes to the
build_jdbct2.xml
file
The changes to the
build_jdbct2.xml
file are as follows:
•
For JDBC Type 2 driver, the following modifications were made:
1.
The
spring.root
property with the
<Spring Home>
directory was updated.
For example:
Before updating, the
spring.root
property in the
build_jdbct2.xml
file appeared
as:
After updating, the
spring.root
property in the
build_jdbct2.xml
file appeared
as:
The path of the Hibernate SQL/MX dialect JAR file (
hibernate3sqlmx.jar
) was set.
—
contains multiple
tags. A new
tag was added to specify the path of the Hibernate dialect JAR file
location under the
tag:
….
….
— Similarly, a new
tag was added to specify the path of the Hibernate
dialect
JAR
file location under the
tag:
….
….
3.
The path of the Commons DBCP JAR file (
commons-dbcp.jar
) was set.
A new
tag was added to specify the path of the Commons DBCP JAR file
location under the
tag:
….
….
build_jdbct4.xml
(
<Spring Home>\samples\petclinic\build_jdbct4.xml
)
This is the build file for PetClinic when the JDBC Type 4 driver for database connectivity is used.
The
build_jdbct4.xml
file was modified to:
•
Update the Spring Root Location (
property:spring.root
)
•
Update the JDBC Type 4 Root Location (
jdbct4.root
)
•
Include the JDBC/MX Type 4 Driver (
t4sqlmx.jar
)
Customizing PetClinic
151