Hello Members,
I am facing a problem while using orient db in memory storage mode,
1. while storing the data i am using this
public static void main(String[] args) {
OrientGraph graph = new OrientGraph("memory:myMemoryDB");
try {
Vertex v1 = graph.addVertex(null);
v1.setProperty("name", "v1");
..............
..............
.............
} finally {
g.shutdown();
}}
2. But while fetching data from other class
public static void main(String[] args) {
OrientGraph graph = new OrientGraph("memory:myMemoryDB");
try {
for (Vertex v : graph.getVertices()) {
System.out.println(" id>>>" + v.getId());
} finally {
g.shutdown();
}}
i am not getting any data, but this works in case of plocal.
please help me to resolve this problem
Regards:
Arpit
--
---
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.