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.