Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1228

Column metadata (data type) discarded when creating dataset from JSON

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.0.Alpha5
    • None

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

            ruettimac_jira Cyrill Rüttimann (Inactive)
            ruettimac_jira Cyrill Rüttimann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: