[teiid-issues] [JBoss JIRA] (TEIID-2317) Primitive byte and char arrays always converted to binary/clob representation

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Wed Dec 5 13:03:21 EST 2012


     [ https://issues.jboss.org/browse/TEIID-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2317.
-----------------------------------

    Fix Version/s: 8.3
       Resolution: Done


Update the logic to only convert to the default runtime type if a non-object type is desired.  Also removed the SourceTransform logic from the DataTypeManager.
                
> Primitive byte and char arrays always converted to binary/clob representation
> -----------------------------------------------------------------------------
>
>                 Key: TEIID-2317
>                 URL: https://issues.jboss.org/browse/TEIID-2317
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Connector API
>    Affects Versions: 8.2
>         Environment: Windows 7 x64
>            Reporter: Stanley Roberts
>            Assignee: Steven Hawkins
>             Fix For: 8.3
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> Teiid automatically converts char[] and byte[] to binary/clob representations as there are many cases where drivers return these values.  That conversion is taking place however without consulting the target type.  It would probably be better to delay this conversion for char[]/byte[] instances until an explicit cast is performed. 

--
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


More information about the teiid-issues mailing list