The full error message is Unique index or primary key violation: "PRIMARY KEY ON """".PAGE_INDEX"; >>> SQL statement: >>> ALTER TABLE "Default".FWK_MODULE_DEP ADD CONSTRAINT >>> "Default"."FWK_MODULE_DEP_ID_MODULE_fkey" FOREIGN KEY(ID_MODULE) REFERENCES >>> "Default".FWK_MODULE_METADATA(ID) ON DELETE CASCADE ON UPDATE CASCADE >>> NOCHECK >>> [23505-176]<http://192.168.0.153:8082/login.do?jsessionid=77be6b1a68ea3468fb909c2871ce4302#> >>> 23505/23505 >>> (Aide)<http://h2database.com/javadoc/org/h2/constant/ErrorCode.html#c23505> >>> org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: >>> "PRIMARY KEY ON """".PAGE_INDEX"; SQL statement: >>> ALTER TABLE "Default".FWK_MODULE_DEP ADD CONSTRAINT >>> "Default"."FWK_MODULE_DEP_ID_MODULE_fkey" FOREIGN KEY(ID_MODULE) REFERENCES >>> "Default".FWK_MODULE_METADATA(ID) ON DELETE CASCADE ON UPDATE CASCADE >>> NOCHECK [23505-176] >>> at >>> org.h2.message.DbException.getJdbcSQLException(DbException.java:344<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=344&build=176> >>> ) >>> at >>> org.h2.message.DbException.get(DbException.java:178<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=178&build=176> >>> ) >>> at >>> org.h2.message.DbException.get(DbException.java:154<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=154&build=176> >>> ) >>> at >>> org.h2.index.PageDataIndex.getNewDuplicateKeyException(PageDataIndex.java:166<http://h2database.com/html/source.html?file=org/h2/index/PageDataIndex.java&line=166&build=176> >>> ) >>> at >>> org.h2.index.PageDataIndex.add(PageDataIndex.java:144<http://h2database.com/html/source.html?file=org/h2/index/PageDataIndex.java&line=144&build=176> >>> ) >>> at >>> org.h2.store.PageStore.addMeta(PageStore.java:1808<http://h2database.com/html/source.html?file=org/h2/store/PageStore.java&line=1808&build=176> >>> ) >>> at >>> org.h2.index.PageBtreeIndex.<init>(PageBtreeIndex.java:64<http://h2database.com/html/source.html?file=org/h2/index/PageBtreeIndex.java&line=64&build=176> >>> ) >>> at >>> org.h2.table.RegularTable.addIndex(RegularTable.java:235<http://h2database.com/html/source.html?file=org/h2/table/RegularTable.java&line=235&build=176> >>> ) >>> at >>> org.h2.command.ddl.AlterTableAddConstraint.createIndex(AlterTableAddConstraint.java:280<http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAddConstraint.java&line=280&build=176> >>> ) >>> at >>> org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:205<http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAddConstraint.java&line=205&build=176> >>> ) >>> at >>> org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:73<http://h2database.com/html/source.html?file=org/h2/command/ddl/AlterTableAddConstraint.java&line=73&build=176> >>> ) >>> at >>> org.h2.engine.MetaRecord.execute(MetaRecord.java:59<http://h2database.com/html/source.html?file=org/h2/engine/MetaRecord.java&line=59&build=176> >>> ) >>> at >>> org.h2.engine.Database.open(Database.java:719<http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=719&build=176> >>> ) >>> at >>> org.h2.engine.Database.openDatabase(Database.java:260<http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=260&build=176> >>> ) >>> at >>> org.h2.engine.Database.<init>(Database.java:254<http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=254&build=176> >>> ) >>> at >>> org.h2.engine.Engine.openSession(Engine.java:57<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=57&build=176> >>> ) >>> at >>> org.h2.engine.Engine.openSession(Engine.java:164<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=164&build=176> >>> ) >>> at >>> org.h2.engine.Engine.createSessionAndValidate(Engine.java:142<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=142&build=176> >>> ) >>> at >>> org.h2.engine.Engine.createSession(Engine.java:125<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=125&build=176> >>> ) >>> at >>> org.h2.engine.Engine.createSession(Engine.java:27<http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=27&build=176> >>> ) >>> at >>> org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:331<http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=331&build=176> >>> ) >>> at >>> org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107<http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=107&build=176> >>> ) >>> at >>> org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91<http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=91&build=176> >>> ) >>> at >>> org.h2.Driver.connect(Driver.java:74<http://h2database.com/html/source.html?file=org/h2/Driver.java&line=74&build=176> >>> ) >>> at >>> org.h2.server.web.WebServer.getConnection(WebServer.java:684<http://h2database.com/html/source.html?file=org/h2/server/web/WebServer.java&line=684&build=176> >>> ) >>> at >>> org.h2.server.web.WebApp.login(WebApp.java:958<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=958&build=176> >>> ) >>> at >>> org.h2.server.web.WebApp.process(WebApp.java:212<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=212&build=176> >>> ) >>> at >>> org.h2.server.web.WebApp.processRequest(WebApp.java:171<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=171&build=176> >>> ) >>> at >>> org.h2.server.web.WebThread.process(WebThread.java:138<http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=138&build=176> >>> ) >>> at >>> org.h2.server.web.WebThread.run(WebThread.java:94<http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=94&build=176> >>> ) >>> at java.lang.Thread.run(Thread.java:695) >>> >>
-- 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 h2-database+unsubscr...@googlegroups.com. To post to this group, send email to h2-database@googlegroups.com. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.