persistence/play-java-jdbc/src/main/java/play/db/Databases.java
public static Database inMemory(String name) {
    return inMemory(name, ImmutableMap.<String, Object>of());
  }
public static Database inMemory(String name) {
    return inMemory(name, ImmutableMap.<String, Object>of());
  }
Create an in-memory H2 database.

@param name the database name
@return a configured in-memory h2 database