How can I change neo4j Id to UUID and get finder methods to work?
问题 Neo4j needs an id field to work which is of type Long. This works well with Spring data neo4j. I would like to have another field of type UUID and have T findOne(T id) to work with my UUID not neo generated Ids. As I am using Spring Data Rest, I don't want to expose neo's id in the URL. http://localhost:8080/resource/{neoId} to http://localhost:8080/resource/{uuid} Any ideas if this is possible? UPDATED { name: "Root", resourceId: "00671e1a-4053-4a68-9c59-f870915e3257", _links: { self: { href