persistence/play-java-jdbc/src/main/java/play/db/Databases.java
public static Database inMemory(String name, String url, Map<String, ? extends Object> config) {
    return createFrom(name, "org.h2.Driver", url, config);
  }
public static Database inMemory(String name, String url, Map<String, ? extends Object> config) {
    return createFrom(name, "org.h2.Driver", url, config);
  }
public static Database inMemory ( String name , String url , Map < String , ? extends Object > config ) { return createFrom ( name , "org.h2.Driver" , url , config ) ; }
Create an in-memory H2 database.

@param name the database name
@param url the database url
@param config a map of extra database configuration
@return a configured in-memory h2 database
Create an in - memory H2 database .