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

derived finder methods for numerically indexed (unique) values fail

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.1.RC3
    • Fix Version/s: 2.1.RC4
    • Component/s: None
    • Labels:
      None

      Description

      @NodeEntity
      public class User {
          @GraphId private Long nodeId;
          @Indexed(unique = true) private int id;
          @Indexed private String email;
      
          public User(int id) {
              this.id = id;
          }
          // getter & setters
      }
      // this fails:
      User foundUser3 = userRepository.findById(1);
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: