[Neo4j] OGM 2.0.2 variable substitution is failing

2016-06-14 Thread Eric Fulton
http://stackoverflow.com/questions/37823552/neo4j-ogm-neo4jsession-variable-substitution-queries-fail I posed the question on stack overflow, but I wanted to pose it here too. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this gr

Re: [Neo4j] neo4j get Node object

2016-06-08 Thread Eric Fulton
Actually, I was just curious and couldn't find documentation. I'd been using spring-data-neo4j, and their old neo4jOperations interface used to be able to fetch the Node objects. I found some old code that made use of that facility, and wanted to find out if I needed to refactor, or if I just

[Neo4j] neo4j get Node object

2016-06-07 Thread Eric Fulton
I'm using neo4j 2.3.3 server. Is there anyway to get a Node object? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more option

Re: [Neo4j] Cypher 1.8: Relationship not found

2016-06-02 Thread Eric Fulton
So apparently this is an OLD neo bug: https://github.com/neo4j/neo4j/issues/37 https://github.com/neo4j/neo4j/issues/6823 and finally: https://github.com/neo4j/neo4j/issues/7288 -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from th

Re: [Neo4j] Cypher 1.8: Relationship not found

2016-06-01 Thread Eric Fulton
namicAopProxy.invoke(JdkDynamicAopProxy.java:208) at com.sun.proxy.$Proxy85.load(Unknown Source) ... If I dig in with a debugger, it's actually just the same exception. On Tuesday, May 31, 2016 at 5:06:52 PM UTC-7, Michael Hunger wrote: > > SDN 4.1.1 with OGM 2.0.2 > > > Am

[Neo4j] Re: Neo4j fails to respond

2016-05-31 Thread Eric Fulton
The latest version of OGM addresses neo4's flakiness by adding in "retry" functionality for these specific exceptions. I haven't seen it since upgrading. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receivi

Re: [Neo4j] Cypher 1.8: Relationship not found

2016-05-31 Thread Eric Fulton
Which of those dependencies should I upgrade? You mean neo4j? Thanks! Eric -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For mor

Re: [Neo4j] Cypher 1.8: Relationship not found

2016-05-27 Thread Eric Fulton
Was this problem ever resolved? I still see it consistently. I'm running neo4j 2.3.3, ogm version 1.1.4, and using neo4j template from spring-data-neo4j 4.0.0.RELEASE. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group a

[Neo4j] Neo4j fails to respond

2016-05-27 Thread Eric Fulton
I'm using Neo4j 2.3.3 and spring-data-neo4j in a highly threaded environment where I attempt lots of reads/writes, and I often get NoHttpResponseException (which means neo didn't respond). This happens most frequently on reads when I'm using a Neo4jOperations object to load domain objects to a

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-26 Thread Eric Fulton
I'm sorry, I'm not sure exactly what you mean by query scan. I haven't changed any of the queries from before the addition of the uniqueness constraint. I'm still doing the same "MERGE ..." query (like above, but with parameters, as you pointed out). Do you mean that, or something else? Than

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-26 Thread Eric Fulton
So before the constraint, I was still using merges because I really did want something akin to uniqueness for these nodes. We had an index on the "uid" so maybe that helped with the full scan? Yes, I use parameters, not literal values. -- You received this message because you are subscribed

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-25 Thread Eric Fulton
This is version 2.3.3 -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-25 Thread Eric Fulton
When I add data to the database, I use a merge something like this: MERGE (n:Thing { uid : }) ON CREATE SET n.prop1 = blah1, n.prop2 = blah2 ... Since I'm working in a multi-threaded environment, it's possible to have the same node written twice and I've seen many instances where duplicate no

[Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-25 Thread Eric Fulton
I'm still seeing 10x performance hit from a uniqueness constraint being added. Is this on the roadmap to be addressed? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
The merge is not done by hand so the rel name will be consistent every time. I'm going to see if I can reproduce it. A little more information: Initially, that start node had two relationships A-[produces]->B A-[produces]->C The problem showed up after detach-deleting C after which we had:

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
That's good to know. As I've said before, we are not executing in a threaded environment. Thanks, Eric -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
> > So in this case, the query is actually a MERGE. > MATCH (a:SecretObject {uid: {1}}),(b:SecretObject {uid: {2}}) "MERGE (a)<-[r:`%s`]-(b) -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails fr

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
We are not doing any concurrent transaction, so that theory is out. Appreciate the suggestion though. Thanks, Eric -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to ne

[Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
I've attached an image of what i'm talking about. I'm not sure how this can happen or how to undo it. Does anyone know? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email t

Re: [Neo4j] Spring Data Neo4j Cypher query to return all

2016-03-22 Thread &#x27;Eric Fulton' via Neo4j
> > > > Am 22.03.2016 um 21:53 schrieb 'Eric Fulton' via Neo4j < > ne...@googlegroups.com >: > > I've got this query: > > @Query(MATCH (n:SomeObj)-[*1..1]->(b) where n.id = '1' RETURN *) > public SomeObj getSomeObjectByIdD1(String id

[Neo4j] Spring Data Neo4j Cypher query to return all

2016-03-22 Thread &#x27;Eric Fulton' via Neo4j
I've got this query: @Query(MATCH (n:SomeObj)-[*1..1]->(b) where n.id = '1' RETURN *) public SomeObj getSomeObjectByIdD1(String id); It doesn't seem to be returning the relationships to depth one as I would expect. Is this not possible? -- You received this message because you are sub

[Neo4j] Re: Spring Data Neo4j Repositories (Safe to return List?)

2016-03-10 Thread Eric Fulton
oh please answer me On Wednesday, March 9, 2016 at 3:45:01 PM UTC-8, Eric Fulton wrote: > > Is it safe to return a list instead of an Iterable in a Neo4j Spring Data > Repository? > -- You received this message because you are subscribed to the Google Groups "Neo4j"

[Neo4j] Spring Data Neo4j Repositories (Safe to return List?)

2016-03-09 Thread Eric Fulton
Is it safe to return a list instead of an Iterable in a Neo4j Spring Data Repository? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.co

[Neo4j] Re: enum as node property always comes back null

2016-02-11 Thread Eric Fulton
You have to add the base package to the session during neo4j configuration. Unbelievable that this isn't documented. I just wasted half of my day. Good luck everyone else. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this gr

[Neo4j] enum as node property always comes back null

2016-02-11 Thread Eric Fulton
http://docs.spring.io/autorepo/docs/spring-data-neo4j/4.0.x-SNAPSHOT/reference/html/#reference_programming-model_conversion > Built-In Type Conversions > By default, Spring Data Neo4j will automatically perform the following > type conversions: > java.util.Date to a String in the ISO 8601 format:

[Neo4j] Neo4j independent domain objects (annotations on setters/getters?)

2015-10-01 Thread Eric Fulton
Hello I have a client server setup, both of which are dependent upon the same domain objects. As things stand, the server depends on the client and subclasses the domain objects in order to add in the neo4j annotations. This enables me to exclude the neo4j dependencies from the client to keep