db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2873) TypeId.isLongConcatableTypeId() should not return true for XML data type.
Date Tue, 26 Jun 2007 16:14:25 GMT
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.2.2.0, 10.2.1.6, 10.1.3.1, 10.1.2.1, 10.1.1.0
            Reporter: Daniel John Debrunner


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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message