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/
o do that in your 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 ple
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
___
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 wrote:
> I am confused, elements is defined as
>
> @RelatedTo(type = "ELEMENT&
just in memory)
>
> Cheers
>
> Michael
>
> Am 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().a
el
>
> P.S. You can still persist your graph 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 1
timeframe.
>
> Cheers
>
> Michael
>
> P.S. You can still persist your graph 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
Any suggestions on this please ?
On Fri, Jun 17, 2011 at 11:03 PM, V wrote:
> I created a graph model with 2 classes Node and Element as follows:
>
> public class Node {
>
> @RelatedTo(type = "ELEMENT", elementClass = Element.class, direction =
> OUTGOIN
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 Set Element;
public void addElement(Element e) {
relateTo(e, Relationships.ELEMENT.toString());
}
9 matches
Mail list logo