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

Enhance the dataset comparison to allow for custom row ordering

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • Major
    • None
    • persistence_1.0.0.Alpha5
    • None

    Description

      By default, DbUnit uses primary keys to sort rows in a database snapshot. This behavior is not reproducible in cases where the database snapshot is not consistently ordered after a transaction. For e.g., when unordered collections like Sets are persisted to a table with auto-generated primary keys, then test assertions using @ShouldMatchDataset may fail intermittently.

      Attachments

        Activity

          People

            vineet.reynolds_jira Vineet Reynolds (Inactive)
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: