Spring Data Neo4j
  1. Spring Data Neo4j
  2. DATAGRAPH-308

Handle derived queries for properties that are relationships

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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]
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Michael Hunger
            Reporter:
            Michael Hunger
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: