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

The serverDataSource allows the application to set Neoview SQL properties (such as resource
governing) for server-side data sources.
If not specified, the default server data source is used.
If the data source named in serverDataSource is not available on the Neoview platform,
the default server data source is used.
If the data source named in serverDataSource is not started on the Neoview platform,
an SQLException is thrown.
Data type: String
Default: None (This value is treated as the default server data source.)
For example:
serverDataSource=MyDataSource
T4LogFile Property
The T4LogFile property sets the name of the logging file for the Type 4 driver.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see “How to Specify JDBC
Type 4 Properties” (page 38).
Data type: String
Default file name is defined by the following pattern:
%h/hpt4jdbc%u.log
where
/ represents the local pathname separator.
%h represents the value of the user.home system property.
%u represents a unique number to resolve conflicts.
Any valid file name for your system is allowed.
If you explicitly specify a log file, that file is overwritten each time a FileHandler is established
using that file name.
To retain previously created log files, use the standard java.util.logging file syntax to
append a unique number onto each log file. For example, you can have the following property
in a data source:
T4LogFile = C:/temp/MyLogFile%u.log
That name causes the Type 4 driver to create a new log file using a unique name for each
connection made through that data source. For example:
C:/temp/MyLogFile43289.log
C:/temp/MyLogFile87634.log
C:/temp/MyLogFile27794.log
If you explicitly specify a log file that is not fully qualified, the Type 4 driver creates the file in
the current working directory, for example, in the directory from which the JVM was invoked.
For detailed information about java.util.logging, see the logging summary at
http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/package-summary.html.
T4LogLevel Property
The T4LogLevel property sets the logging levels that control logging output for the Type 4
driver. The Java package java.util.logging logs error messages and traces messages in the
driver.
48 Type 4 Driver Properties