Throw UnsupportedOperationException for BoneCp and Vibur DBCP on pool resize
vladmihalcea opened this issue · 1 comments
vladmihalcea commented
BoneCP and Vibur DBCP does not support pool resizing natively, as C3P0. This way, it's impossible to guarantee what will happen to the current acquired connections one the pool has to be destroyed and recreated, only to take into consideration the new pool size.
Therefore, the safest approach is to throw an UnsupportedOperationException whenever the max pool size is about to be changed and document the behavior.
vladmihalcea commented
Fixed in release 1.2.1