Question

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
Was it helpful?

Solution 2

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

OTHER TIPS

Which version of HsqlDB you are using? I am using 2.2.9 with hibernate 4.1.3. I see no errors.. you could try this version, with user SA.

Or you could try grant permissions for your PUBLIC both on table and the sequence it is using

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top