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

Expression.toEJBQL() support for single-column PK Persistent objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0RC3
    • Core Library
    • None
    • N/A

    Description

      The Expression.toEJBQL method in ASTScalar.java needs to be fixed so that the PK is used as the value instead of the ObjectId.

      Currently, the method outputs things like "a.artist = <ObjectId:Artist, id=1234>", which is not valid EJBQL syntax.

      Attachments

        1. encodeAsEJBQL.patch
          1 kB
          Dave Dombrosky
        2. toEJBQL_1.txt
          22 kB
          dzmitar
        3. toEJBQL.txt
          21 kB
          dzmitar

        Activity

          People

            andrus Andrus Adamchik
            shentalus Dave Dombrosky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: