Switched connection pool with datasource