Matej,
in this case, Iterator paths =
Traversal.description().relationship(TICKET_STATUS,INCOMING).relationship(TICKET_STATUS_EVENT,INCOMING).traverse(db.getNodeById(1001)).iterator();
should give you an iterator of Paths, where you can just get the end
node by doing
paths.next().endNode()
Woul
In case you are interested, I implemented cycle detection by using
Tarjan algorithm, not the traversal.
The code is visible in the Italian Wikipedia, I hope it's intelligible
although the language.
http://it.wikipedia.org/wiki/Algoritmo_di_Tarjan_per_le_componenti_fortemente_connesse#Implementazion
Hi! So we deployed our application, but we get Caused by:
java.lang.IllegalStateException: Unable to lock store ... SEVERE:
0-database/neostore], this is usually caused by another Neo4j kernel
already running in this JVM for this particular store
Is there any best practise how to avoid this? The
Can you show the code of the (I assume SessionBean) that connects to the Neo4j
store?
Thanks
Michael
Am 28.03.2011 um 00:29 schrieb Matěj Plch:
> Hi! So we deployed our application, but we get Caused by:
> java.lang.IllegalStateException: Unable to lock store ... SEVERE:
> 0-database/neostor
Hi Matěj,
As the error message says, most likely this is caused by another instance
already being open in the same JVM.
If I were to have I guess, I think that your code (in the singleton you
mention) create a new GraphDatabaseService without invoking shutdown() on
the existing one first. Probabl
5 matches
Mail list logo