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

Use #result as optional directive for only few columns (not all)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.5, 3.0, 2.0.5
    • 3.0 beta 1, 3.0
    • Core Library
    • None

    Description

      Here is few queries to show the problem:

      SELECT ARTIST_ID, ARTIST_NAME FROM ARTIST

      • working properly

      SELECT #result('ARTIST_ID' 'java.lang.Integer'), #result('ARTIST_NAME' 'java.lang.String') FROM ARTIST

      • also working properly

      SELECT ARTIST_ID, #result('ARTIST_NAME' 'java.lang.String') FROM ARTIST

      • first column is returned as null!!! Not nice...

      Attachments

        1. CAY-1282.patch
          14 kB
          Evgeny Ryabitskiy
        2. CAY-1282-3.patch
          21 kB
          Evgeny Ryabitskiy
        3. CAY-1282-3.patch
          24 kB
          Evgeny Ryabitskiy
        4. CAY-1282-3.patch
          25 kB
          Evgeny Ryabitskiy
        5. CAY-1282-3.patch
          25 kB
          Evgeny Ryabitskiy
        6. CAY-1282-3.patch
          25 kB
          Evgeny Ryabitskiy
        7. CAY-1282-3.patch
          19 kB
          Evgeny Ryabitskiy

        Activity

          People

            andrus Andrus Adamchik
            apparition Evgeny Ryabitskiy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: