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

Bartosz Majsak (JIRA) jira-events at lists.jboss.org
Tue Nov 27 15:42:21 EST 2012


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

Bartosz Majsak updated ARQ-1228:
--------------------------------

    Assignee: Cyrill Rüttimann  (was: Bartosz Majsak)

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