Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5687

Oracle comparison with binding of nchar with non-ascii chars is not correct

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 12.2
    • Component/s: JDBC Connector
    • Labels:
      None

      Description

      An nchar column binding in the where clause will use the FIXED_CHAR (999) oracle type - however that converts the value to ascii, which may result in invalid results:

      nchar_col = ?

      where ? is bound to Ā would search instead for A.

        Attachments

          Activity

            People

            Assignee:
            shawkins Steven Hawkins
            Reporter:
            shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: