Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2873

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

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

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0
    • None
    • SQL
    • 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.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            djd Daniel John Debrunner

            Dates

              Created:
              Updated:

              Slack

                Issue deployment