You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mamta A. Satoor (JIRA)" <ji...@apache.org> on 2012/10/02 06:53:08 UTC

[jira] [Updated] (DERBY-2873) TypeId.isLongConcatableTypeId() should not return true for XML data type.

     [ https://issues.apache.org/jira/browse/DERBY-2873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mamta A. Satoor updated DERBY-2873:
-----------------------------------

    Urgency: Normal
     Labels: derby_triage10_10  (was: )
    
> TypeId.isLongConcatableTypeId() should not return true for XML data type.
> -------------------------------------------------------------------------
>
>                 Key: DERBY-2873
>                 URL: https://issues.apache.org/jira/browse/DERBY-2873
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0
>            Reporter: Daniel John Debrunner
>              Labels: derby_triage10_10
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira