NoSuchColumnException
March 20th, 2009
Applies to:
DBUnit, MySQL
Description:
Occurs when using DBUnit
Cause:
This exception can occur especially with MySQL RDBMS if you forget to set the special MySqlMetadataHandler on the DatabaseConfig.
Correct configuration, particularly Metadata Handler
Property(http://www.dbunit.org/properties/metadataHandler)
Default value is org.dbunit.database.DefaultMetadataHandler, You need to set MySqlMetadataHandler.