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

Binding Collection in Parameters for SQLTemplate is not working

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.5
    • Core Library
    • 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...

      Attachments

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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment