DBUnit TypeCastException Unable to typecast value 0 of type java.lang.String to TIMESTAMP

But the column isn’t a timestamp anyway, so not sure why DBUnit wants to treat it as such.

Solution

Set columnSensing to false when creating the dataset. For a FlatXmlDataSet, you can specify a boolean in the constructor to achieve this.