NoSuchColumnException

  • Share
  • Share

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 , , , , , , , , , , , , , , , , ,

  1. admin
    March 20th, 2009 at 10:28 | #1

    Correct configuration, particularly Metadata Handler
    Property(http://www.dbunit.org/properties/metadataHandler)
    Default value is org.dbunit.database.DefaultMetadataHandler, You need to set MySqlMetadataHandler.

  1. No trackbacks yet.