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

Bartosz Majsak (JIRA) issues at jboss.org
Tue May 6 06:39:56 EDT 2014


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

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

    Fix Version/s:     (was: persistence_1.0.0.next)


> 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 was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the arquillian-issues mailing list