public static Database createFrom(
      String name, String driver, String url, Map<String, ? extends Object> config) {
    """
	Create a pooled database with the given configuration.
	
	@param name the database name
	@param driver the database driver class
	@param url the database url
	@param config a map of extra database configuration
	@return a configured database
    """
    ImmutableMap.Builder<String, Object> dbConfig = new ImmutableMap.Builder<String, Object>();
    dbConfig.put("driver", driver);
    dbConfig.put("url", url);
    dbConfig.putAll(config);
    return new DefaultDatabase(name, dbConfig.build());
  }
public static Database createFrom(
      String name, String driver, String url, Map<String, ? extends Object> config) {
    ImmutableMap.Builder<String, Object> dbConfig = new ImmutableMap.Builder<String, Object>();
    dbConfig.put("driver", driver);
    dbConfig.put("url", url);
    dbConfig.putAll(config);
    return new DefaultDatabase(name, dbConfig.build());
  }
public static Database createFrom ( String name , String driver , String url , Map < String , ? extends Object > config ) { ImmutableMap . Builder < String , Object > dbConfig = new ImmutableMap . Builder < String , Object > ( ) ; dbConfig . put ( "driver" , driver ) ; dbConfig . put ( "url" , url ) ; dbConfig . putAll ( config ) ; return new DefaultDatabase ( name , dbConfig . build ( ) ) ; }
Create a pooled database with the given configuration.

@param name the database name
@param driver the database driver class
@param url the database url
@param config a map of extra database configuration
@return a configured database
Create a pooled database with the given configuration .