Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2565

Can't use new generated PK properties with dot() operator

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.B1
    • Fix Version/s: 4.1.RC1
    • Component/s: Core Library
    • Labels:
      None

      Description

      PerĀ CAY-2478 we can generate properties for PK attributes. But they are incompatible with {{dot() }} operator as it is unaware about db paths.

      Simple test case:

      Expression exp = Painting.TO_ARTIST.dot(Artist.ARTIST_ID_PK_PROPERTY).eq(1L);
      

      Will generated following expression: toArtist.null = 1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ntimofeev Nikita Timofeev
                Reporter:
                ntimofeev Nikita Timofeev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m