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

Spring Data Graph + Eclipse + AJDT : Editor errors

    XMLWordPrintable

    Details

      Description

      a) In @RelatedToVia & @RelatedTo & @NodeEntity annotations, you get something like :
      Type mismatch : Cannot convert from Class<XXX> to Class<? extends RelationshipBacked>

      b) In relateTo(...) , getRelationshipTo(), persist() and all other introduced methods, you get a
      The method relateTo(World, String) is undefined for the type XXX
      or
      The method persist() is undefined for the type XXX
      etc

      c) Finally in repository definitions like
      [CODE]public interface XXXRepository extends GraphRepository<XXX>, NamedIndexRepository<XXX> {}[/CODE]
      you get:
      Bound mismatch: The type XXX is not a valid substitute for the bounded parameter <T
      extends GraphBacked<?>> of the type NamedIndexRepository<T>

      Bound mismatch: The type XXX is not a valid substitute for the bounded parameter <T
      extends GraphBacked<?>> of the type GraphRepository<T>

      Related, but closed issue https://jira.springsource.org/browse/DATAGRAPH-39

        Attachments

        1. Eclipse3.7.1-STS2.7.2-SDGErrors.png
          Eclipse3.7.1-STS2.7.2-SDGErrors.png
          1.10 MB
        2. Eclipse-versions.txt
          5 kB
        3. git-imported dot-project.zip
          0.4 kB
        4. maven-imported dot-project.zip
          0.4 kB
        5. sdg-ajdt.patch
          39 kB
        6. sdg-ajdt.patch
          39 kB
        7. SDGerrors.txt
          9 kB

          Activity

            People

            Assignee:
            mhunger Michael Hunger
            Reporter:
            anodynos Agelos Pikoulas
            Last updater:
            Trevor Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: