Refresh DataSource using Spring+dbcp
问题 I'm using Spring with DBCP and need to refresh my datasource when some configuration on operation environment changes, without restart all application. If I do it with no use of DBCP, I force this refresh closing current opened datasource in use and Start a new instance of DataSource. Using DBCP+Spring, I can't do that. Somebody knows if it is possible? 回答1: I don't think there is such a support in plain DBCP, mostly because database connection properties are very rarely changing during the