Wrong connection settings when more than one BoneCPConnectionProvider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BoneCP |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I'm trying to implement a AbstractMultiTe
For some reason, after create more than one BoneCPConnectio
I double checked the configurations inside each BoneCPConnectio
I'm using 0.8.0-alpha-1. The providers are created like the following:
public static <S extends ConnectionProvider & Stoppable> S buildConnection
BoneCPConnect
//C3P0Connect
np.injectServ
Map<String, String> map = new HashMap<String, String>();
map.put(
map.put(
map.put(
map.put(
np.configure(
return (S) np;
}
Switching to C3P0 fixes the problem, but I would like to stick with BoneCP for several reasons ;)
This is a very dangerous bug, please let me know if you need more info.
description: | updated |
description: | updated |
Does the same happen if you use datasource instead of connection provider? Can you provide me with a unit test?