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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.B1
    • 4.1.RC1
    • Core Library
    • 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

              ntimofeev Nikita Timofeev
              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