Quantcast
Channel: BlogoSfera » locking
Viewing all articles
Browse latest Browse all 13

Neo4j Java OGM select with lock

$
0
0

I am trying to select a path with locking the last node in that path using Java OGM for Neo4j. To do that in cypher I have written the following query: String q = "Match path = (p:Root) - [*1..100]-(m:Leaf) WHERE m.State = 'Non-Processed' WITH m,p,path ORDER BY length(path) Limit 1 SET m.State = 'Processing' […]

The post Neo4j Java OGM select with lock appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 13

Trending Articles