Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1137

The result of PropertyPath.from is incorrect in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for Feedback
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      classes:
      Dept

      {String name}

      User

      {String name, Dept dept}

      Address

      {String address, User user}

      Repository:
      findByUser_Dept_Name(String deptName) //correct
      findByUserDeptName(String deptName) //correct
      findByUserDept_Name(String deptName) //incorrect

      PropertyPath:
      PropertyPath.from("UserDept_Name", Address.class) // Address.user.name (incorrect)

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            kizimini kizimini
            Last updater:
            kizimini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: