protected BoneCP createPool ( BoneCPConfig config ) { try { return new BoneCP ( config ) ; } catch ( SQLException e ) { throw new HibernateException ( e ) ; } }
Creates the given connection pool with the given configuration . Extracted here to make unit mocking easier .