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.
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.
JAVA-DBUnit "http://www.dbunit.org/properties/metadatahandler", new mysqlmetadatahandler());, "mysqlmetadatahandler" nosuchcolumnexception, cache:zfaro-5iyekj:iderror.com/errors/java/java-dbunit/nosuchcolumnexception/ nosuchcolumnexception dbunit, dbunit mysqlmetadatahandler, dbunit new metadatahandler, dbunit no schema, dbunit nosuchcolumnexception, dbunit nosuchcolumnexception mysql, dbunit property_metadata_handler, dbunit setup nosuchcolumnexception, lrm-00118: syntax error at '=' at the end of input, mysql, mysql dbunit nosuchcolumnexception, mysqlmetadatahandler, mysqlmetadatahandler dbunit mysql, nosuchcolumnexception dbunit, nosuchcolumnexception dbunit mysql, set mysqlmetadatahandler for dbunit
Correct configuration, particularly Metadata Handler
Property(http://www.dbunit.org/properties/metadataHandler)
Default value is org.dbunit.database.DefaultMetadataHandler, You need to set MySqlMetadataHandler.