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

Example for Scripting SQL Template for 3.0

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0
    • Documentation
    • None

    Description

      At http://cayenne.apache.org/doc/scripting-sqltemplate.html which is Cayenne 3.0 doc there is a line

      SQLTemplate update = new SQLTemplate(Artist.class, sql, false);

      which can not be compiled under 3.0 as the third parameter is removed from 3.0 API.

      Attachments

        Activity

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

          People

            antidote Andrey Razumovsky
            borutb Borut Bolcina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment