Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-30 Thread Michael Hunger
The problem is that there are no cypher commands currently but core-api calls. and it is reading and writing, so you would have convert all of those into cypher statemetns and send them over the wire which would be probably even slower You could probably hold off sending the http request until you

Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-30 Thread Mike Holdsworth
> > Be great if such a feature could be on the roadmap. I find myself dropping > back to Cypher more and more to try and obtain a performance edge. SDN is > great for maintaining the general Schema, Labels, Constraints etc. So that > would seem to put me in the camp of "Greenfield SDN". > Wo

Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-29 Thread Michael Hunger
Great question. I think it depends on several facts: #1 Have a sensible driver for Neo4j that can be used both with embedded and remote and allows for transactions with cypher, which I would currently consider the jdbc driver #2 A Java only OGM that provides basic mapping from POJOs to graph for

Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-28 Thread Stacy Tyler Young
Michael, what would a ballpark figure look like in man hours in order to move sdn to cypher? Maybe we can crowdsource it. :) On Fri, Mar 28, 2014 at 2:49 AM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > Sadly neither > > It uses core java api methods to do it > > No time to rewr

Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-27 Thread Michael Hunger
Sadly neither It uses core java api methods to do it No time to rewrite sdn to run on cypher It depends on the OtherNodebut sdn takes care that there is only one rel between the instances. Sent from mobile device Am 27.03.2014 um 22:27 schrieb Mike Holdsworth : > When an @NodeEntity has rela

[Neo4j] SDN Persisting Nodes in Single Call

2014-03-27 Thread Mike Holdsworth
When an @NodeEntity has relationships to other nodes, is it written as a single cypher statement or are they persisted as separate statements? In this example, assuming the createdBy is a new node, is createdBy created when SomeClass is saved in the same cypher statement? If it’s a single st