Currently I have…
url=
"
jdbc:oracle:thin:@
(
DESCRIPTION=
(
ADDRESS_LIST=
(LOAD_BALANCE=OFF)
(FAILOVER=ON)
(
ADDRESS=
(PROTOCOL=TCP)
(HOST=10.0.0.6)
(PORT=1521)
)
(
ADDRESS=
(PROTOCOL=TCP)
(HOST=10.0.0.7)
(PORT=1521)
)
)
(
CONNECT_DATA=
(SERVICE_NAME=mySID.nowhere.org)
(SERVER=DEDICATED)
)
)
"
Best Answer
You don't setup Fast-Start Failover in the URL. It's something that you setup on the data source using the setFastConnectionFailoverEnabled(true) function call.
Per here
For example
Also, it mentions:
Edit: One last thought, if there ever is a failover, you will need to handle the SQLException: