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