Skip to content
Advertisement

Tag: dbunit

DBUnit: NoSuchColumnException Non-uppercase input column in ColumnNameToIndexes cache map. map’s column names are NOT case sensitive

My java application stores your information in MySql database version 8. The user information and password are stored in this database. I am implementing an integration test to test the method that validates the user in the database using dbunit. After the test method runs, the error below occurs. I checked through MySql Workbench that both the table and the

org.dbunit.database.AmbiguousTableNameException

above is my XML. I’ve to validate the same. I’m using DBUnit to compare the same XML with other XML (other XML has the same content but generated from different source). While creating dataset I’m getting “org.dbunit.database.AmbiguousTableNameException”. I’ve SQL query for every XML tag. E.g. For employee tag I’m querying on empID. for facilities I’m querying on mealCard etc etc.

Advertisement