【发布时间】:2012-10-03 18:14:21
【问题描述】:
在运行 Hibernate 的 SchemaExport 时,如何消除以下这些错误?实际上它似乎并没有引起问题 - 我的测试仍然运行得很好 - 但我不喜欢看到错误并且不得不向下滚动很多只是为了查看测试出了什么问题。
有什么办法可以摆脱它们 - 要么解决错误,要么让它安静下来?
17:28:19 ERROR SchemaExport:425 - HHH000389: Unsuccessful: alter table click drop constraint FK5A5C588CBB8DB5
17:28:19 ERROR SchemaExport:426 - user lacks privilege or object not found: PUBLIC.CLICK
17:28:19 ERROR SchemaExport:425 - HHH000389: Unsuccessful: alter table click drop constraint FK5A5C5885AC11C60
17:28:19 ERROR SchemaExport:426 - user lacks privilege or object not found: PUBLIC.CLICK
17:28:19 ERROR SchemaExport:425 - HHH000389: Unsuccessful: alter table click drop constraint FK5A5C58841979673
17:28:19 ERROR SchemaExport:426 - user lacks privilege or object not found: PUBLIC.CLICK
17:28:19 ERROR SchemaExport:425 - HHH000389: Unsuccessful: alter table click drop constraint FK5A5C588430DFF29
17:28:19 ERROR SchemaExport:426 - user lacks privilege or object not found: PUBLIC.CLICK
17:28:19 ERROR SchemaExport:425 - HHH000389: Unsuccessful: alter table click drop constraint FK5A5C588B6909BE1
17:28:19 ERROR SchemaExport:426 - user lacks privilege or object not found: PUBLIC.CLICK
17:28:19 ERROR SchemaExport:425 - HHH000389: Unsuccessful: alter table comment drop constraint FK38A5EE5FCBB8DB5
【问题讨论】:
标签: java hibernate unit-testing hsqldb schemaexport