Neoview JDBC Type 4 Driver Programmer's Reference (R2.2, R2.3, R2.4, R2.5)
Setting Properties in the Command Line
When a Type 4 driver property is specified on the command line through the java -D option,
the property must include the prefix:
hpt4jdbc.
This notation, which includes the period (.), ensures that all the Type 4 driver property names
are unique for a Java application. For example, the maxStatements property becomes:
-Dhpt4jdbc.maxStatements=10
Precedence of Property Specifications
If a particular property is set several ways by an application, the value used depends on how
the value was set according to the following order of precedence:
1. Set on the DataSource object, DriverManager object, or ConnectionPoolDataSource
object.
2. Set through the java.util.Properties parameter in the getConnection method of
DriverManager class.
3. Set the property in a properties file specified by the hpt4jdbc.properties property.
4. Set the –Dhpt4jdbc.property_name=property_value in the java command line.
For more information, see order of precedence for properties specified in various ways for use
with the Driver Manager.
How to Specify JDBC Type 4 Properties 39