vladmihalcea / flexy-pool

FlexyPool adds metrics and failover strategies to a given Connection Pool, allowing it to resize on demand.
Apache License 2.0
1.09k stars 120 forks source link

Feature/atomikos5 #58

Closed oburgosm closed 4 years ago

oburgosm commented 4 years ago

Changes due to Atomikos 5 Update

vladmihalcea commented 4 years ago

Thanks a backward-incompatible change, meaning that if someone upgrades to a newer version of the project while using Atomikos 4, the project will no longer work for them.

I prefer changing the class so that it works with both Atomikos 4 and 5. That could be done by loading the AbstractDataSourceBean classes using reflection. This way we can support both versions. Youn can use the ReflectionUtils class for that.

vladmihalcea commented 4 years ago

Closed as a more generic solution is going to be used instead.