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

Specialization of property API for PK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.M1
    • cgen
    • None

    Description

      Properties generated for PK in 4.1 has issues (see CAY-2565), so we need some logic to deal with them.

      Instead of using DbPath directly we can make special type of Property (probably IdProperty) to make them usable in all cases.

      Required cases to handle:

      • compatibility with dot() operator
      • in-memory sorting
      • in-memory evaluation

      My approach is to use special name "@id" as path for PK. Limitation - it will be unusable with compound PKs.

      Attachments

        Issue Links

          Activity

            People

              ntimofeev Nikita Timofeev
              ntimofeev Nikita Timofeev
              Votes:
              0 Vote for this issue
              Watchers:
              1 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