org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table SINGULARKONSTRAINT drop constraint FKj7t94rc7oab2i1kmur42hjc98]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Will Darby, 1 year ago
Unable to execute command [alter table SINGULARKONSTRAINT drop constraint FKj7t94rc7oab2i1kmur42hjc98]
via Stack Overflow by n00b
, 1 year ago
Unable to execute command [ alter table employee drop foreign key FKkxx4wtsgsdt16iix2pso0k126]
via Stack Overflow by Daniel Bristol
, 1 year ago
Unable to execute command [alter table PERSON drop foreign key FKbp2vwqo7ae0jj95k63er5w8or]
via Stack Overflow by hjain25
, 1 year ago
Unable to execute command [ alter table board drop foreign key FKcefyg893q4c26nvw7uus84ts3]
via Stack Overflow by FuSsA
, 1 year ago
Unable to execute command [ alter table QWE drop foreign key FK5f4s5qg3vma47jthit51i7wvy]
via Stack Overflow by Md Faisal
, 1 year ago
Unable to execute command [drop table if exists VEHICLE]
org.hsqldb.HsqlException: user lacks privilege or object not found: PUBLIC.SINGULARKONSTRAINT
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.SchemaManager.getUserTable(Unknown Source)
at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
at org.hsqldb.ParserCommand.compilePart(Unknown Source)
at org.hsqldb.ParserCommand.compileStatements(Unknown Source)
at org.hsqldb.Session.executeDirectStatement(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:370)
at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:355)
at org.hibernate.tool.schema.internal.SchemaDropperImpl.applyConstraintDropping(SchemaDropperImpl.java:327)
at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:229)
at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:153)
at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:125)
at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:111)
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:137)
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:308)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:483)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)

Users with the same issue

Once, 2 months ago
5 times, 3 months ago
2 times, 6 months ago
2 times, 7 months ago
24 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.