H2
IDataTypeFactory
H2DataTypeFactory
maps H2’s BOOLEAN to DataType.BOOLEAN and UUID to DataType.NVARCHAR,
delegating everything else to DefaultDataTypeFactory. Register it via
DatabaseConfig.PROPERTY_DATATYPE_FACTORY — see
Properties and
Connections & Configuration.
Connection Preconfiguration Class
H2Connection wraps
a JDBC Connection and pre-registers H2DataTypeFactory:
IDatabaseConnection connection = new H2Connection(jdbcConnection, schema);Known Quirks
None specific to dbUnit beyond the standard FAQ entries.


