title: Orientdb: Create new Graph database
body: <p>I'm trying to create a new instance of OrientGraph database, as follows:</p>
  
  <pre><code>OrientGraph graph = new OrientGraph("local:C:/temp/graph/db");
  graph.create(); //BUT no create method!!
  </code></pre>
  
  <p>anyhow, while sticking with the manual and do it with ODatabaseDocumentTx like:</p>
  
  <pre><code>db = new ODatabaseDocumentTx("plocal:c:/orientdb/db");
  db.create();
  ....
  db.shutdown();
  </code></pre>
  
  <p>then I want to get a session like:</p>
  
  <pre><code>OrientGraphFactory factory = new OrientGraphFactory("plocal:c:/orientdb/db", "admin", "admin");
  OrientGraphNoTx g = factory.getNoTx();
  try
  {
  
  }
  finally
  {
      g.shutdown();
  }
  </code></pre>
  
  <p>I got the following exception:</p>
  
  <pre><code>java.lang.IncompatibleClassChangeError: Expected static method     com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.checkForGraphSchema(Lcom/orientechnologies/orient/core/db/document/ODatabaseDocumentTx;)
  </code></pre>
  
  <p><b>How Can I create a new graph database???</b></p>
  
  <p>Thank you.</p>