DataSourceDatabaseTester skip schema information

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

DataSourceDatabaseTester skip schema information

Arnaud Brunet-2

In my project, I use two types of IDatabaseTester : a DataSourceDatabaseTester and JdbcDatabaseTester.
I create my IDatabaseTester with :
dsTester = new DataSourceDatabaseTester(ds);
dsTester.setSchema( schema.toUpperCase());

jdbcTester = new JdbcDatabaseTester(driver, url, user, pass);

In Jdbc case, DBUnit use the good schema. But in case of Datasource DBUnit skip the schema. And I have an ambiguous table exception.

Why DBUnit doesn't use schema information for DataSource connection ?

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
dbunit-user mailing list
[hidden email]