object/src/main/java/com/orientechnologies/orient/object/db/OrientDBObject.java
public void create(String name, ODatabaseType type, OrientDBConfig config) {
    orientDB.create(name, type, config);
  }
public void create(String name, ODatabaseType type, OrientDBConfig config) {
    orientDB.create(name, type, config);
  }
Create a new database

@param name   database name
@param type   can be plocal or memory
@param config database specific configuration that override the orientDB global settings where needed.