在运行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发布于 2012-10-14 13:55:27
只是不要使用2.2.x系列的hsqldb。2.0.0就可以了。
发布于 2012-10-13 20:13:04
您使用的是哪个版本的HsqlDB?我使用的是2.2.9和hibernate 4.1.3。我看不到任何错误..您可以使用用户SA尝试此版本。
或者,您可以尝试为您的公共表及其使用的序列授予权限
https://stackoverflow.com/questions/12867383
复制相似问题