Am 23.08.2010 11:49, schrieb Stefan Bodewig:
On 2010-08-17, Oliver Heger wrote:

The test tries to execute a CLEAN_INSERT database operation in order
to setup test data in the database which results in the following
error:

It seems like the table is no more created automatically?

hsqldb 2.x (which is the trunk Gump is building) has changed its
internal structures to be SQL 92 compliant (in particular this in
INFORMATION_SCHEMA).  dbunit - at least the version you use - likely
doesn't know about that.

I've modified Gump so that it provides hsqldb 1.x when using the groupId
hsqldb (which your version of dbunit uses) and hsqldb 2.x when asked for
org.hsqldb - the later has been used for the latest hsqldb 1.x release
as well, but I hope this wonÄt cause any problems.

You'l get nagged once more and after that either my changes have worked
or we need to dig deeper.

Stefan

PS: dbunit 2.1 has been released more than six years ago, the current
release is 2.4.7.

I think I found the problem. It was not related to dbunit. There was a script with CREATE TABLE commands for setting up the test database. Obviously the syntax for VARCHAR columns slightly changed, so that the new version threw exceptions when processing the file.

I tweaked the script, so that it should now be compatible with the 2.x version of hsqldb. Maybe you can revert your latest changes, so that we can test whether my changes have some effect.

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to