skip to main content
Using the JDBC Client : JDBC Connection Properties : TCPKeepAlive
 

TCPKeepAlive

Description
Determines whether the JDBC Client enables TCPKeepAlive. TCPKeepAlive prevents idle TCP connections from being disconnected by firewalls and proxies by maintaining network activity. When TCPKeepAlive is enabled, the JDBC Client periodically sends TCPKeepAlive packets to the server and the server responds to them with TCPKeepAlive acknowledgements. If the client sends a packet and the server does not respond to it, the connection is considered inactive and is terminated.
To know how to enable TCPKeepAlive in your operating system, see TCPKeepAlive Support
Valid Values
true | false
If set to true, the JDBC Client enables TCPKeepAlive.
If set to false, the JDBC Client does not enable TCPKeepAlive.
Default
False
Data Type
Boolean