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

ColumnSelect: unable to use from nested context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.B1, 4.1.M1
    • 4.0.B2, 4.1.M1
    • Core Library
    • None

    Description

      Queries like this always failing:

      ObjectContext nested = runtime.newContext(parentContext);
      ObjectSelect.columnQuery(Artist.class, Artist.ARTIST_NAME).select(nested);
      

      ObjectContextQueryAction tries to cast result to Persistent and that is obviously invalid in this case.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: