Cayenne
  1. Cayenne
  2. CAY-1306

Binding Collection in Parameters for SQLTemplate is not working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.5
    • Component/s: Core Library
    • Labels:
      None

      Description

      I'm trying to bind Collection in SQLTemplate query.
      Like in example from this page: http://cayenne.apache.org/doc20/scripting-sqltemplate.html
      From section "Binding Parameters - #bind Directive" -> "Collection example"
      Sadly it's not working... I got an Exception...

      Glad to say that in 3.0 branch this feature is working...

      1. CAY-1306_testv2.patch
        4 kB
        Evgeny Ryabitskiy
      2. CAY-1306_testv3.patch
        4 kB
        Evgeny Ryabitskiy
      3. CAY-1306.patch
        5 kB
        Evgeny Ryabitskiy
      4. CAY-1306.patch
        5 kB
        Evgeny Ryabitskiy

        Activity

        Evgeny Ryabitskiy created issue -
        Evgeny Ryabitskiy made changes -
        Field Original Value New Value
        Attachment CAY-1306_testv2.patch [ 12424493 ]
        Evgeny Ryabitskiy made changes -
        Attachment CAY-1306_testv3.patch [ 12424495 ]
        Evgeny Ryabitskiy made changes -
        Assignee Evgeny Ryabitskiy [ apparition ]
        Evgeny Ryabitskiy made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Evgeny Ryabitskiy made changes -
        Attachment CAY-1306.patch [ 12425609 ]
        Evgeny Ryabitskiy made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Andrus Adamchik made changes -
        Fix Version/s 3.0 beta 2 [ 12314338 ]
        Evgeny Ryabitskiy made changes -
        Attachment CAY-1306.patch [ 12427598 ]
        Evgeny Ryabitskiy made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Evgeny Ryabitskiy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ari Maniatis made changes -
        Workflow jira [ 12481671 ] Cayenne workflow [ 12487781 ]

          People

          • Assignee:
            Evgeny Ryabitskiy
            Reporter:
            Evgeny Ryabitskiy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development