Fixing DBAccess (testOnBorrow).
This commit is contained in:
@@ -45,6 +45,7 @@ public class DbAccess {
|
||||
//
|
||||
GenericObjectPool connectionPool =
|
||||
new GenericObjectPool();
|
||||
connectionPool.setTestOnBorrow(true);
|
||||
|
||||
//
|
||||
// Next we'll create the PoolableConnectionFactory, which wraps
|
||||
|
||||
Reference in New Issue
Block a user