takimafr / spring-dbunit

DBUnit support for Spring
Apache License 2.0
40 stars 19 forks source link

ReplacementDataSet to specify null value #24

Closed regis-leray closed 9 years ago

regis-leray commented 11 years ago

I try to manage to specify null value in my xml flat file

I need to that

ReplacementDataSet dataSet = new ReplacementDataSet(new FlatXmlDataSet(…)); dataSet.addReplacementObject("[NULL]", null);

Is there way ???

rsertelon commented 9 years ago

Hi @regis-leray I've pushed a pull request that will allow you to do just that with Strings only though, see #34

rsertelon commented 9 years ago

34 has been merged, I'll try to publish the library on Maven Central so that I can release a new version.

In the mean time, you could use a snapshot if you need to.