Are Postgresql enum types supported by dbunit?
There is limited support for postgresql enums because only reading and writing strings is supported since dbunit 2.4.6. To do so you have to override the method “isEnumType” in the PostgresqlDataTypeFactory like this: PostgresqlDataTypeFactory factory = new PostgresqlDataTypeFactory(){ public boolean isEnumType(String sqlTypeName) { if(sqlTypeName.