yubaolee / dddlib

Automatically exported from code.google.com/p/dddlib
0 stars 0 forks source link

Change com.dayatang.dbunit.Dbunit to support other databases, such as hsqldb #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change com.dayatang.dbunit.Dbunit to support other databases, such as hsqldb

What is the expected output? What do you see instead?
com.dayatang.dbunit.Dbunit only support mysql, oracle, h2, when someone wants 
to use other databases such as hsqldb, and then will get a RuntimeException 
with error message  "不支持的数据库类型!". 
I think when someone use other database for testing, the DBunit will return a 
default DataSourceDatabaseTester, such as "databaseTester = new 
DataSourceDatabaseTester(ds);".

Original issue reported on code.google.com by iffiff1@gmail.com on 3 Nov 2011 at 7:41