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

Handle derived queries for properties that are relationships

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Account has a @RelatedTo Set<Role> roles

      Iterable<Account> findByRoles(Role role);
      

      doesn't work but throws:

      Error roles SIMPLE_PROPERTY points neither to a primitive nor a entity property of class de.bht.streetartatlas.domain.auth.Account unmanaged @NodeEntity Annotations: [interface org.springframework.data.neo4j.annotation.NodeEntity]
      

        Attachments

          Activity

            People

            • Assignee:
              mhunger Michael Hunger
              Reporter:
              mhunger Michael Hunger
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: