Hello,
> Object mystr1 = new String("888");
> Vertex = neo4jgraph.addVertex(mystr1);
You are not setting the variable to anything.
Do:
Vertex v = neo4jgraph.addVertex(null);
Marko.
http://markorodriguez.com
On Sep 18, 2012, at 2:16 PM, Tigerfish wrote:
> I have a Neo4jGraph object "neo4jgraph" and I am doing the following API.
>
> Object mystr1 = new String("888");
> Vertex = neo4jgraph.addVertex(mystr1);
>
> Somehow, neo4jgraph.getVertex(mystr1) returns NULL after the above API call.
>
> Did I miss something obvious?
>
> Note: the version I am using is community 1.8 M05.
>
> --
>
>