2

I'm using com.github.springtestdbunit to conduct persistence tests on my DAO layer. The problem is that i don't know in which order data will be saved to database, so i need to ignore row order when comparing expected and actual datasets. Basically it's the same issue DB Unit should ignore order of rows but i wonder how to fix it without hacking a library's @ExpectedDatabase annotation and its enum parameter DatabaseAssertionMode.

Community
  • 1
  • 1
stanislav.chetvertkov
  • 1,620
  • 3
  • 13
  • 24

1 Answers1

1

i guess it will be fixed soon with unordered assertion mode https://github.com/springtestdbunit/spring-test-dbunit/pull/48

stanislav.chetvertkov
  • 1,620
  • 3
  • 13
  • 24