[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
Tue Nov 27 12:53:22 EST 2012


Cyrill Rüttimann created ARQ-1228:
--------------------------------------

             Summary: 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: Bartosz Majsak


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