Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18157

camel-jdbc - The settings provided by the query parameter "parameters" are ignored when useHeadersAsParameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.14.3
    • 3.14.4, 3.18.0
    • camel-jdbc
    • None
    • Unknown

    Description

      The settings provided by the query parameter "parameters" are ignored when useHeadersAsParameters is true.

      Example:

      jdbc:xxxxx?useHeadersAsParameters=true&statement.fetchSize=100&outputType=StreamList&resetAutoCommit=false

      In this specific case statement.fetchSize=100 will be ignored and all the rows will be fetched in memory for an sql query like this one:

      SELECT * from MY-BIG-TABLE

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrea81 Andrea Evangelista
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: