Using H2 v1.4.191

Trying to delete it shows:

Error: Constraint "UK_1PT73622HFCLVE5LRHRQTITBK" not found; SQL statement:
alter table subscription drop constraint UK_1pt73622hfclve5lrhrqtitbk 
[90057-187]
SQLState:  90057
ErrorCode: 90057
Error: org.h2.jdbc.JdbcSQLException: Constraint 
"UK_1PT73622HFCLVE5LRHRQTITBK_INDEX_9" not found; SQL statement:
ALTER TABLE SUBSCRIPTION DROP CONSTRAINT 
UK_1PT73622HFCLVE5LRHRQTITBK_INDEX_9 [90057-191]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
    at org.h2.message.DbException.get(DbException.java:179)
    at org.h2.message.DbException.get(DbException.java:155)
    at 
org.h2.command.ddl.AlterTableDropConstraint.update(AlterTableDropConstraint.java:41)
    at org.h2.command.CommandContainer.update(CommandContainer.java:98)
    at org.h2.command.Command.executeUpdate(Command.java:258)
    at org.h2.server.TcpServerThread.process(TcpServerThread.java:345)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:159)
    at java.lang.Thread.run(Thread.java:745)
, SQL State: 90057, Error Code: 90057

It shows up as if it exists and it gets enforced.


-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to