Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

getMaxIdleTime
public int getMaxIdleTime()
Returns the max idle time value associated with this Type 4 connection.
Returns:
The max idle timeout value in seconds.
See Also:
setMaxIdleTime(int)
setT4LogLevel
public void setT4LogLevel(java.lang.String level)
Sets the logging level for the current Type 4 connection. The default value is OFF. Valid values are:
OFF (no logging)
SEVERE (highest value)
WARNING
INFO
CONFIG
FINE
FINER
FINEST (lowest value).
ALL (log all messages)
Parameters:
level - logging level.
See Also:
getT4LogLevel(), Level
getT4LogLevel
public java.util.logging.Level getT4LogLevel()
Returns the Type 4 log level associated with the current Type 4 connection. Possible log levels are described in
java.util.logging.Level
Returns:
java.util.logging.Level associated with the current Type 4 connection.
See Also:
setT4LogLevel(String), Level
setT4LogFile
public void setT4LogFile(java.lang.String t4LogFile)
Sets the location of the file to which the logging is to be done. Changing this location after making a connection
has no effect; because the driver reads this property before the connection is made. The default name is a
generated file name 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. If %h is not defined, then the
behavior is undefined "%u" represents a unique number to resolve conflicts