Using failover url for database datasources

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using failover url for database datasources

Marco Hanisch
Hi *,

we are using datasources for connections to an Oracale database.
Now we have to use failover, because the backend team switched from
loadbalancer to something else, I dont know.

Currently this is our configuration:

osgi.jdbc.driver.class = oracle.jdbc.OracleDriver
osgi.jdbc.driver.name = oracle
dataSourceName = justAPlaceholerForOracle
url = jdbc:oracle:thin:@orc-p01.example.com:1521/serviceName
user = username
password = password

How can we use a failover url, how to configure?

Regards,
Marco