Unable To Set TCP Keep-alive In JDBC Driver For 11.2.x (Doc ID 1626197.1)

Last updated on AUGUST 03, 2016

Applies to:

JDBC - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Symptoms

The use of the CONNECTION_PROPERTY_NET_KEEPALIVE property for the JDBC connection is not working as the documentation states (http://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/jdbc/OracleConnection.html#CONNECTION_PROPERTY_NET_KEEPALIVE).

Based on the documenation the property TCP keep-alive should be set  to "true" to enable TCP keep alive.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms