[arquillian-issues] [JBoss JIRA] (ARQ-1228) Column metadata (data type) discarded when creating dataset from JSON

Cyrill Rüttimann (JIRA) jira-events at lists.jboss.org
Thu Nov 29 16:33:22 EST 2012


    [ https://issues.jboss.org/browse/ARQ-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738279#comment-12738279 ] 

Cyrill Rüttimann commented on ARQ-1228:
----------------------------------------

Works for datatypes supported by JSON basic data binding data types, but fails for special datatypes like timestamps or DBUnits [null].
                
> Column metadata (data type) discarded when creating dataset from JSON
> ---------------------------------------------------------------------
>
>                 Key: ARQ-1228
>                 URL: https://issues.jboss.org/browse/ARQ-1228
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Persistence
>    Affects Versions: 1.0.0.Alpha5
>            Reporter: Cyrill Rüttimann
>            Assignee: Cyrill Rüttimann
>             Fix For: persistence_1.0.0.next
>
>
> The original bug was that the sorting (orderBy) did not work for datasets imported via JSON. Analysis on this showed, that the DBunit-Metadata which includes the Datatype for a column was not populated with correct data, but with DataType.UNKOWN. DBUnit's SortedTable then assumes String as the datatype and for example primary keys will not be sorted correctly.
> The solution whould be to not ignore the datatype information delivered by Jackson, but put them into the DBUnit-Column instance(es).

--
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 arquillian-issues mailing list