Neoview JDBC Type 4 Driver Programmer's Reference (R2.2, R2.3, R2.4, R2.5)

Using the java.util.Properties parameter in the getConnection method of
DriverManager class.
1.
2. Using the database URL in the DriverManager.getconnection method, where the
URL is:
jdbc:hpt4jdbc://ip_addr_or_host_name:18650/:property=value
ip_addr_or_host_name is the primary IP address or host name for the
Neoview database.
3. Using a properties file for the JDBC driver. The properties file is passed as a
command-line parameter. The format to enter the properties file in the command line
is:
-Dhpt4jdbc.properties=path_of_properties_file_on_disk
For example, -Dhpt4jdbc.properties=C:\temp\t4props
For information about the properties file, see “Creating and Using a Properties File”
(page 38).
4. Using JDBC properties with the -D option in the command line. If used, this option
applies to all JDBC connections using the DriverManager within the Java application.
The format in the command line is:
-Dhpt4jdbc.property_name=property_value
For example, -Dhpt4jdbc.maxStatements=1024
26 Accessing Neoview SQL Databases