Search code examples
javahibernateunit-testinghsqldbschemaexport

Hsqldb errors during SchemaExport using Hibernate 4.1


How do I get rid of these errors below when running Hibernate's SchemaExport? It doesn't seem to cause a problem actually - my tests still run just fine - but I don't like seeing the errors and having to scroll down a lot just to see what went wrong with a test.

Is there any way to get rid of them - by either solving the error or just making it quiet?

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

Solution

  • Just don't use 2.2.x series of hsqldb. 2.0.0 is fine.