persistence/play-java-jdbc/src/main/java/play/db/Databases.java
public static Database createFrom(
      String driver, String url, Map<String, ? extends Object> config) {
    return createFrom("default", driver, url, config);
  }
public static Database createFrom(
      String driver, String url, Map<String, ? extends Object> config) {
    return createFrom("default", driver, url, config);
  }
Create a pooled database named "default" with the given configuration.

@param driver the database driver class
@param url the database url
@param config a map of extra database configuration
@return a configured database