commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <>
Subject [jira] [Commented] (DBCP-393) DBCP to support database connection failover
Date Fri, 14 Feb 2014 15:40:20 GMT


Mark Thomas commented on DBCP-393:

I suspect that the reason this feature hasn't been implemented to date is that generally,
failover requires some form of database replication and databases that provide that tend to
provide JDBC drivers that support failover as well.

I'm not against this feature - depending on what the patch look like - but I'm not sufficiently
motivated to write the patch myself. Without a patch, this is eventually going to get resolved

> DBCP to support database connection failover
> --------------------------------------------
>                 Key: DBCP-393
>                 URL:
>             Project: Commons Dbcp
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Campbell
>            Priority: Critical
> Hello. Would it be possible for the DriverManagerConnectionFactory to accept a list or
alternative database connection URL. With a possible maxRetry parameter, the suggestion is
this improvement would allow for automatic fail over to a secondary database when a connection
exception occurs.
> Let me know if this is a good candidate or if you have made thought of this already as
it is standard behaviour in other managed datasources. Many thanks.

This message was sent by Atlassian JIRA

View raw message