object/src/main/java/com/orientechnologies/orient/object/db/OrientDBObject.java
public ODatabaseObject open(String name, String user, String password) {
    return new OObjectDatabaseTx((ODatabaseDocumentInternal) orientDB.open(name, user, password));
  }
public ODatabaseObject open(String name, String user, String password) {
    return new OObjectDatabaseTx((ODatabaseDocumentInternal) orientDB.open(name, user, password));
  }
public ODatabaseObject open ( String name , String user , String password ) { return new OObjectDatabaseTx ( ( ODatabaseDocumentInternal ) orientDB . open ( name , user , password ) ) ; }
Open a database specified by name using the username and password if needed

@param name     of the database to open
@param user     the username allowed to open the database
@param password related to the specified username

@return the opened database
Open a database specified by name using the username and password if needed