Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

Database failover configuration.

$
0
0
Hi,

We are using a spring based application with mysql \ jpa \ hibernate.

We would like to configure a failover mechanism for our DB.

we use <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> ..

1) How exactly does one configure a failover mechanism?
2) Is it connected at all to the spring's datasource configurations?

thanks!

Viewing all articles
Browse latest Browse all 297

Trending Articles