In case of H2 database and UUID column types, dbunit treats it as a binary field which makes it near impossible to supply test data in the XML file since it will expect a BASE64 string.
I added the following piece of code and this seems to do the trick
@Override
public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException {
if ("UUID".equals(sqlTypeName)) {
return DataType.NVARCHAR;
}
Thank you.
Can you add a test that proves it fails without this change and passes with this change, please?
I take that as a "no"...
Rolling the dice and committed. H2 users be ware...
Applied for next release after 2.4.9.