I would like to update lastUpdate field in node each time some property is change.
Is there is some general solution for it from Neo4j level or Spring Data?
The problem is that our structure and code exsist and these feature has to be added. We use in application Spring Data (ver. 3.1.1) with Aspects. As I see it now I have to change:
- change behaviour of
save()method fromGraphRepository - change behaviour of Aspect method
persist()from node
I wonder if there is some simpler method that these steps.