I'm getting this annoying warning...
18:10:14 WARN | o.d.d.AbstractTableMetaData | Potential problem found: The configured data type factory 'class org.dbunit.ext.mysql.MySqlDataTypeFactory' might cause problems with the current database 'MariaDB' (e.g. some datatypes may not be supported properly). In rare cases you might see this message because the list of supported database products is incomplete (list=[mysql]). If so please request a java-class update via the forums.If you are using your own IDataTypeFactory extending DefaultDataTypeFactory, ensure that you override getValidDbProducts() to specify the supported database products.
In theory, MariaDB should be compatible with MySQL, so implementation should be straightforward... Also maybe add it to the supported list...
In rare cases you might see this message because the list of supported database products is incomplete (list=[mysql])
I know it is extremely low priority but I checked for Feature requests and it seems no one asked for it yet... so...
Yes, good idea to add it. Thanks for the feature request.
Can you make the needed changes and tests and open a merge request? That would make it happen (and faster).
Hey @jeffjensen, I love this request too.
My first though is to add "mariadb" to the DATABASE_PRODUCTS variable.
private static final Collection DATABASE_PRODUCTS = Arrays.asList(new String[] {"mysql", "mariadb"});
Would this solve fix the warning? Or is deeper knowledge of the MariaDB necessary?
Thanks,
Hans
Last edit: Hans Wurst 2023-07-27