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