Search:

Type: Posts; User: treaves; Keyword(s):

Search: Search took 0.04 seconds.

  1. Replies
    27
    Views
    2,395

    The transactions only work if they are in the...

    The transactions only work if they are in the classes the services call, which is how I've been working around this. So both the service injection & transaction injection work, just not in the same...
  2. Replies
    27
    Views
    2,395

    Yes, they are.

    Yes, they are.
  3. Replies
    27
    Views
    2,395

    Unfortunatly, I'm having this issue. I have...

    Unfortunatly, I'm having this issue. I have these seperations made (of the MVC controllers), I have the correct entry for <tx:annotation-driven mode="proxy" />, and have tried the others in this...
  4. Replies
    2
    Views
    211

    To your first point, about saveing item1, it is...

    To your first point, about saveing item1, it is saved by the time it is added to the layers. So that's not relevent.

    As to your second point, about adding the relations, the Neo4j documentation...
  5. Replies
    2
    Views
    211

    Bidirectional relationship not being set

    I have two classes in an m:n relationship, defined as:


    public class Item {
    @RelatedTo(type="MEMBERS", direction = Direction.INCOMING)
    Set<Layer> layers;
    }
    public class Layer {...
  6. Replies
    1
    Views
    202

    [Neo4j] Using a Map as an attribute?

    As best I can tell, Maps are not supproted with neo4j; is that correct? I find Lists & Set only.
  7. start layer=node:Layer(name={0}),...

    start layer=node:Layer(name={0}), asset=node:Asset(hash={1})
    match asset<-[:MEMBERS]-()-[:PARENT_OF*0..]->layer
    return asset


    Seems to owrk. When I studied the code a little more, it looked...
  8. Unfortunatly, this does ntowork. The first query...

    Unfortunatly, this does ntowork. The first query works as expected, but the secodn one does not (it return nothing).

    I'll look over the documentation more.
  9. Yes, I had used that index do to a defect in...

    Yes, I had used that index do to a defect in Neo4j (that was reciently fixed). I hadn't relized that was what GLOBAL meant. Changing in to INSTANCE, the query now works.
  10. I should clarify that the autogenerated query...

    I should clarify that the autogenerated query makes no sense as it looks like it would find any node of any type with an attribte named hash whos value matched that provided.
  11. Understanding generated queris for repositories.

    I have a repository interface defined as:


    package com.eml.repository;
    public interface AssetRepository extends GraphRepository<Asset>

    It has a method defined:

    com.eml.domain.Asset...
  12. [Neo4j] Upgrading requires what for datastore?

    Please forgive me if I've over-looked this, but when upgrading from something like

    <spring-data-neo4j.version>2.1.0.RC3</spring-data-neo4j.version>
    <neo4j.version>1.8.M07</neo4j.version>
    to
    ...
  13. [Neo4j] Query to search parents collections too?

    I have two class: A & B. A has a collection of B's.


    @NodeEntity
    public class A implements Comparable<A>{

    @GraphId Long nodeId;
    @Indexed String name;
    @RelatedTo(type="MEMBERS") Set<B>...
  14. Replies
    1
    Views
    210

    Help with reverse relationship query

    I have a repository interface extending GraphRepository. I use this for almost all of my graph access, and that works well. Now I'd like to do something, and I'm not sure the best way to accomplish...
  15. Replies
    4
    Views
    266

    Yes, it does, thanks. In my case, parent is...

    Yes, it does, thanks. In my case, parent is singular, but, yes.
  16. Replies
    4
    Views
    266

    Thanks for the response. That doesn't do it...

    Thanks for the response.

    That doesn't do it though. If I have a class thus:


    public class Element {
    Set<Element> children;
    Element parent;
    Set<Foo> foos;
    }
  17. Replies
    4
    Views
    266

    Parent-child model?

    I am trying to model a bi-direction one-to-many relationship (a tree). A node can have a parent, and has a children collection. This is straigh-forward in most persistance framewroks. But I can not...
  18. Replies
    2
    Views
    345

    Using neo4j version 1.7.1 fails

    I have a working sample project. This uses neo4j 1.7 with spring-data-neo4j.version 2.1.0.RC1. As I was looking at how to install Neoclipse, I saw that the current version of neo4j is 1.7.1. So I...
Results 1 to 18 of 18