Fixing DBAccess (testOnBorrow).

This commit is contained in:
marcins78@gmail.com
2011-09-11 16:35:56 +00:00
parent 2a7ba64316
commit b9478b7229

View File

@@ -45,6 +45,7 @@ public class DbAccess {
//
GenericObjectPool connectionPool =
new GenericObjectPool();
connectionPool.setTestOnBorrow(true);
//
// Next we'll create the PoolableConnectionFactory, which wraps