DBunit; confusion over case sensitivity on table/column names

前端 未结 5 1874
南方客
南方客 2021-01-13 18:25

I\'m getting this error when I start up my application

Caused by: org.dbunit.dataset.NoSuchColumnException: CLIENT.ID -  (Non-uppercase input column: ID) in          


        
5条回答
  •  情书的邮戳
    2021-01-13 19:10

    I've also had this problem after adding a column to one of my entities (using an in-memory HSQL database).

    I managed to solve this problem by simply deleting the temporary files that had previously been generated: mem:testdb.log, mem:testdb.properties and mem:testdb.script

    Why did this error occur? => A database schema is stored in the mem:testdb.script file and is not re-generated when the entity is modified.

提交回复
热议问题