I want to generate uuid for every node automatically.
I learnt that GraphAware framework is retired.
Found this documentation UUIDs - APOC Extended Documentation in which apoc is being used.
But Im getting an for the statement : CALL apoc.uuid.install('Person')
Error : There is no procedure with the name apoc.uuid.install registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
Using neo4j community version 5.9 & apoc 5.9 version
I have installed both core & extended jars.
After executing CREATE CONSTRAINT FOR (person:Person) REQUIRE person.uuid IS UNIQUE & CALL apoc.uuid.install("Person", {addToExistingNodes : false) uuid is being generated.
Should I execute these statements every time after creating a new label? There's no other way for this?
According to this documentation here: UUIDs - APOC Extended Documentation. You have to use CALL apoc.uuid.setup(). Once you set this up, then you can use a refresh time, which in the background will create the uuids for you. I hope this helps.