graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java
public OrientGraphNoTx getNoTx() {
    final OrientGraphNoTx g;

    if (pool == null) {
      g = (OrientGraphNoTx) getNoTxGraphImplFactory().getGraph(getDatabase(), user, password, settings);
    } else {
      // USE THE POOL
      g = (OrientGraphNoTx) getNoTxGraphImplFactory().getGraph(pool, settings);
    }

    initGraph(g);
    return g;
  }
public OrientGraphNoTx getNoTx() {
    final OrientGraphNoTx g;

    if (pool == null) {
      g = (OrientGraphNoTx) getNoTxGraphImplFactory().getGraph(getDatabase(), user, password, settings);
    } else {
      // USE THE POOL
      g = (OrientGraphNoTx) getNoTxGraphImplFactory().getGraph(pool, settings);
    }

    initGraph(g);
    return g;
  }
public OrientGraphNoTx getNoTx ( ) { final OrientGraphNoTx g ; if ( pool == null ) { g = ( OrientGraphNoTx ) getNoTxGraphImplFactory ( ) . getGraph ( getDatabase ( ) , user , password , settings ) ; } else { // USE THE POOL g = ( OrientGraphNoTx ) getNoTxGraphImplFactory ( ) . getGraph ( pool , settings ) ; } initGraph ( g ) ; return g ; }
Gets non transactional graph with the database from pool if pool is configured. Otherwise creates a graph with new db instance.
The Graph instance inherits the factory's configuration.

@return non transactional graph
Gets non transactional graph with the database from pool if pool is configured . Otherwise creates a graph with new db instance . The Graph instance inherits the factory s configuration .