Skip to content

Conversation

@cachavezley
Copy link

The ExpectedDatabase annotation now contains an attribute called "replaceSequenceIds" which, if true, is used the calculate the sequence values in an expected DataSet which looks like this

<dataset>
   <MYTABLE FOO="Hello" ID="${MYTABLE_SEQ}"/>
   <MYTABLE FOO="World" ID="${MYTABLE_SEQ}"/>
   <OTHERTABLE BAR="Hello" ID="${OTHERTABLE_SEQ}"/>
   <OTHERTABLE BAR="World" ID="${OTHERTABLE_SEQ}"/>
</dataset>

@see
http://dbunit.wikidot.com/dbunitsupport

…laceSequenceIds" which, if true, is used the calculate the sequence values in an expected DataSet which looks like this

<dataset>
   <MYTABLE FOO="Hello" ID="${MYTABLE_SEQ}"/>
   <MYTABLE FOO="World" ID="${MYTABLE_SEQ}"/>
   <OTHERTABLE BAR="Hello" ID="${OTHERTABLE_SEQ}"/>
   <OTHERTABLE BAR="World" ID="${OTHERTABLE_SEQ}"/>
  </dataset>

@see
http://dbunit.wikidot.com/dbunitsupport
…laceSequenceIds" which, if true, is used the calculate the sequence values in an expected DataSet which looks like this

<dataset>
   <MYTABLE FOO="Hello" ID="${MYTABLE_SEQ}"/>
   <MYTABLE FOO="World" ID="${MYTABLE_SEQ}"/>
   <OTHERTABLE BAR="Hello" ID="${OTHERTABLE_SEQ}"/>
   <OTHERTABLE BAR="World" ID="${OTHERTABLE_SEQ}"/>
  </dataset>

@see
http://dbunit.wikidot.com/dbunitsupport
@buildhive
Copy link

springtestdbunit » spring-test-dbunit #10 SUCCESS
This pull request looks good
(what's this?)

@abudjakov
Copy link

Hi. This is a really helpful feature. When we can expect this change? would be nice to have the same for @DatabaseSetup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants