Yes, I use embedded mode but for your use case it is unnecessary. Just use
plocal access as Luca mentioned.
So just use the following form or one of the other constructors if your are
in <=1.6.3
OrientGraph g = new OrientGraph("plocal:{pathToDB}")
For >=1.7rc2
OrientGraphFactory factory = new OrientGraphFactory("plocal:{pathToDB}");
graphNoTx = factory.getNoTx();
graph = factory.getTx();
You would normally use embedded when you want file system access inside of
your app (using plocal) AND external remote access through a network
protocol of ONetworkProtocolBinary (allows remote:/db type access) or when
you want several listeners open with different configurations. I don't
think this applies to your needs at the moment.
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.