Neo4j-auto-increment-id
对于neo4j自增id,没有好的办法
- 只能用neo4j提供的自增id
- 可以设置一个属性用uuid来标识。(记得给这个属性建索引)
neo4j-uuid可以直接用neo4j其中一个作者写的插件https://github.com/graphaware/neo4j-uuid
Reference:
[1] https://stackoverflow.com/questions/29434020/auto-increment-property-in-neo4j
[2] https://github.com/graphaware/neo4j-uuid
[3] http://grokbase.com/t/gg/neo4j/12akdzasym/auto-increment-ids-for-nodes
[4] https://gist.github.com/jacquibo/8012859
[5] https://gist.github.com/jacquibo/8012859
[6] http://grokbase.com/t/gg/neo4j/12ay3p71jr/auto-increment
[7] http://forum.spring.io/forum/spring-projects/data/nosql/121977-neo4j-auto-increment-id-for-node
[8] https://groups.google.com/forum/#!topic/neo4j/_6m-Yu-6q-8