0

I want to make 2 identity of Node. One for graphId (internal id of neo4j graph id) with annotation @GraphId and second for tableId for easily declaration Id per Node (start from 1 to *)

SDN 4 is not supported @Index anymore from open question SDN 4 + OGM 1.1.1 @Index(unique = true) is not working

Any other method how to easily make property Long or Integer with Auto Increment without using any plugin or manual code?

UPDATE

Create open issue https://jira.spring.io/browse/DATAGRAPH-807 and waiting for next update

Community
  • 1
  • 1
David Vincent
  • 634
  • 1
  • 8
  • 33

1 Answers1

1

Autoincrement functionality isn't available in SDN/Neo4j-OGM. A server extension or code is the only way to do this currently.

Luanne
  • 19,145
  • 1
  • 39
  • 51