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

Fix resolution of implicitly named parameters on Repository queries.

    Details

      Description

      Parameters of custom queries cannot be resolved despited having a module compiled with -parameters. I.e

      @Query("MATCH (n:Artist) WHERE id(n) = $id WITH n MATCH p=(n)-[*0..1]-(m) RETURN DISTINCT n")
      Optional<T> findById(@Param("id") Long id);
      

      works only with @Params.

        Attachments

          Activity

            People

            • Assignee:
              gerrit.meier Gerrit Meier
              Reporter:
              michael.simons Michael Simons
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: