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

Oracle adapter should automatically strip IN clauses with more than 1000 elements

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0M6
    • 3.0 beta 1, 3.0
    • None
    • None

    Description

      Oracle (and maybe other) adapter should automatically strip IN clauses with more than 1000 elements. E.g.

      IN (1,2,...1500) ---> IN (1,2...1000) OR IN (1001,...1500)

      Otherwise SQLException occurs, because all Oracles do not support INs with more than 1000 elements

      Attachments

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment