Uploaded image for project: 'Spring Data Neo4j'
  1. Spring Data Neo4j
  2. DATAGRAPH-152

Include the option of creating multiple entity relationships in RelationshipOperationsRepository

    XMLWordPrintable

    Details

      Description

      While dealing with entity relationships, currently the only way of creating multiple relationships of the same type between two nodes is by using neo4j-template. It would be interesting to have it available from a RelationshipOperationsRepository.

      Don't know if it would make sense to allow it also from the annotated entity with some kind of @RelatedToVia(multiple=true) so as there would be no need to use the repository directly.

      IMHO, i wouln't include the same option for @RelatedTo, as there would be no "useful" information on having multiple relationships of the same type between two nodes, that would be equivalent to having a single relationship with a "counter" property, which has more sense, right?

        Attachments

          Activity

            People

            Assignee:
            mhunger Michael Hunger
            Reporter:
            jprojas Juan Pablo
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: