[Neo4j] Lifecycle of a Graph ?

2011-07-06 Thread V
Can anyone explains me the life cycle of a graph with Neo4j spring data graph. I want to load multiple copies of a persisted graph in memory, but some how the second instance returns null. Not sure if I am doing something wrong or if this is something related to the graph lifecycle? Any comments/

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-30 Thread V
Any suggestions on this please ? It is really acting as a blocker for me. I have tried multiple alternatives, but I come up with one issue or the other. On Wed, Jun 22, 2011 at 8:51 PM, V vlin...@gmail.com wrote: I am confused, elements is defined as @RelatedTo(type = ELEMENT, elementClass

[Neo4j] Unique index nodes

2011-06-30 Thread V
I have an element of my node marked with @Indexed String name I want to ensure that when I persist nodes, only one node with that name gets persisted. (I want to throw an error here and ask the user to give a different name) What is the best way to ensure this. Any suggestions ? - Karan

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-30 Thread V
domain layer only. I'll look into the elements returning null. I thought I already solved that some time ago. Which version of SDG are you using? Cheers Michael Am 30.06.2011 um 15:00 schrieb V: Any suggestions on this please ? It is really acting as a blocker for me. I have tried

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-22 Thread V
on a transient index or keep their node-id's somewhere). Am 18.06.2011 um 03:40 schrieb V: Any suggestions on this please ? On Fri, Jun 17, 2011 at 11:03 PM, V vlin...@gmail.com wrote: I created a graph model with 2 classes Node and Element as follows: public class Node { @RelatedTo(type

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-22 Thread V
22.06.2011 um 17:06 schrieb V: Michael - In my quest for a cleaner solution , I am coming back to your original reply What do you mean by *Right now this works only with the getElements().add method.* Please elaborate . Thanks for your help . On Sun, Jun 19, 2011 at 2:34 AM, Michael

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-20 Thread V
and remove the nodes later (either index them on a transient index or keep their node-id's somewhere). Am 18.06.2011 um 03:40 schrieb V: Any suggestions on this please ? On Fri, Jun 17, 2011 at 11:03 PM, V vlin...@gmail.com wrote: I created a graph model with 2 classes Node and Element

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-17 Thread V
Any suggestions on this please ? On Fri, Jun 17, 2011 at 11:03 PM, V vlin...@gmail.com wrote: I created a graph model with 2 classes Node and Element as follows: public class Node { @RelatedTo(type = ELEMENT, elementClass = Element.class, direction = OUTGOING) private SetElement