org.unitils.core.UnitilsException: Error inserting test data from DbUnit dataset for method public void com.example.EmployeeDao2Test.count2() throws com.example.IEmployeeDao$DataAccessException

hsqldb | phil89 | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    object not found: SYSTEM_TABLE_CONSTRAINTS

    unitils | 5 years ago | phil89
    org.unitils.core.UnitilsException: Error inserting test data from DbUnit dataset for method public void com.example.EmployeeDao2Test.count2() throws com.example.IEmployeeDao$DataAccessException
  2. 0

    object not found: SYSTEM_TABLE_CONSTRAINTS

    hsqldb | 5 years ago | phil89
    org.unitils.core.UnitilsException: Error inserting test data from DbUnit dataset for method public void com.example.EmployeeDao2Test.count2() throws com.example.IEmployeeDao$DataAccessException

    Root Cause Analysis

    1. org.unitils.core.UnitilsException

      Unable to create DbUnit dataset for file EmployeeDaoTest.findsForTitleOnly.xml

      at org.unitils.dbunit.DbUnitModule.getDataSet()
    2. org.unitils.dbunit
      DbUnitModule.insertTestData
      1. org.unitils.dbunit.DbUnitModule.getDataSet(DbUnitModule.java:310)
      2. org.unitils.dbunit.DbUnitModule.getTestDataSets(DbUnitModule.java:251)
      3. org.unitils.dbunit.DbUnitModule.insertTestData(DbUnitModule.java:139)
      3 frames