get Connection with multiple schemas does not close connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BoneCP |
New
|
Undecided
|
Unassigned |
Bug Description
In our scenario connection are retrieved using getConnection(
Connection insertConn=null
BoneCPDAtaSource connPool = new BoneCPDataSourc
insertConn = connPool.
... Perform insert
Connection selectConn=null
selectConn = connPool.
PreparedStatement prepStat = selectConn.
....perform select query
//close the connection and shutdown the pool
insertConn.close;
selectConn.close;
connPool.close ; //At this point the connection obtain in selectConn does get close.
We are using 0.8.0 release of bonecp.
Any help appreciated.