[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/ suggestions please.

Karan
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Lifecycle of a Graph ?

2011-07-06 Thread Michael Hunger
Could you explain, how you load it into memory? 

And what you do that returns null?

The graph itself has no lifecycle.

Then Graph-Entities are attached the nodes and relationships when you load (via 
repositories, cypher or direct, or when you navigate along relationships) them 
and allow write through in transactions and read-through all the time.

They become detached when you leave the tx and start changing properties.

Newly created entities are also detached.

Cheers

Michael


Am 06.07.2011 um 16:20 schrieb 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/ suggestions please.
 
 Karan
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user