Derby
  1. Derby
  2. DERBY-2873

TypeId.isLongConcatableTypeId() should not return true for XML data type.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0
    • Fix Version/s: None
    • Component/s: SQL
    • Urgency:
      Normal

      Description

      Since XML is not a type that can be concatenated this method should return false.
      I see from the comments that it was set this way to take advantage of existing code that disallowed such a type being used in certain situations. However such overloading leads to confusion and the potential of bugs, much cleaner& easier to understand to have explict use of isXMLTypeId() when checking for XML types.

        Activity

        Daniel John Debrunner created issue -
        Mamta A. Satoor made changes -
        Field Original Value New Value
        Labels derby_triage10_10
        Urgency Normal [ 10052 ]
        Gavin made changes -
        Workflow jira [ 12407091 ] Default workflow, editable Closed status [ 12797080 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel John Debrunner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development