I have this snippet of code while using neo4j embedded 1.4.2:
Node newlyCreatedNode = db.createNode();
log.debug("NEWLY GENERATED NODE : " + newlyCreatedNode.getId());
Node newlyCreatedNode1 = db.createNode();
log.debug("NEWLY GENERATED NODE 1: " +
newlyCreatedNode1.getId());
In most cases, this returns two different ids, but my problem is that I'm
getting two same id values in two consecutive calls.
For example:
2011-11-09 19:15:07,236 DEBUG - <NEWLY GENERATED NODE : 122766>
2011-11-09 19:15:07,236 DEBUG - <NEWLY GENERATED NODE 1: 122766>
Can you tell me reason for this, or how to prevent this from happening
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/id-problem-on-createNode-tp3496067p3496067.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user