Database Networking (MOSC)

MOSC Banner

Discussions

What is the time unit for a CONNECT_TIMEOUT parameter within a connection url?

Is the time unit of the CONNECT_TIMEOUT and TRANSPORT_CONNECT_TIMEOUT parameter in this connection url milliseconds or seconds?

jdbc:oracle:thin:@(DESCRIPTION_LIST=(LOAD_BALANCE=off)(FAILOVER=on) (DESCRIPTION=(CONNECT_TIMEOUT=1)(TRANSPORT_CONNECT_TIMEOUT=1)(RETRY_COUNT=0) (ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=scanserver-01)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=ourservice))) (DESCRIPTION=(CONNECT_TIMEOUT=1)(TRANSPORT_CONNECT_TIMEOUT=1)(RETRY_COUNT=0) (ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=scanserver-02)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=ourservice)))

Did this time unit change between OJDBC-driver V12.x and OJDBC-driver V18 from milliseconds to seconds?

My coworker and I did not find any good documentation about how to configure a Oracle JDBC-driver. Could you please show me some relevant, precise documentation?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center