From a625c831ae8ba6aed45239da2ff77db1f87748ee Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 6 May 2013 17:38:16 +0000 Subject: [PATCH] Updates to work with HSQLDB 2.2.4. We need the HsqldbLiaison fixes from samskivert 1.8-SNAPSHOT and we have to nix some hardcoded bogosity in our own tests. --- pom.xml | 4 ++-- src/test/java/com/samskivert/depot/MigrationTest.java | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 18f36db..835a091 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ com.samskivert samskivert - 1.7 + 1.8-SNAPSHOT compile @@ -76,7 +76,7 @@ org.hsqldb hsqldb - 2.0.0 + 2.2.4 test diff --git a/src/test/java/com/samskivert/depot/MigrationTest.java b/src/test/java/com/samskivert/depot/MigrationTest.java index a48dc57..42d0888 100644 --- a/src/test/java/com/samskivert/depot/MigrationTest.java +++ b/src/test/java/com/samskivert/depot/MigrationTest.java @@ -74,8 +74,7 @@ public class MigrationTest extends TestBase "CREATE MEMORY TABLE PUBLIC.\"DepotSchemaVersion\"(" + "\"persistentClass\" VARCHAR(255) NOT NULL PRIMARY KEY," + "\"version\" INTEGER NOT NULL," + - "\"migratingVersion\" INTEGER NOT NULL," + - "UNIQUE(\"persistentClass\"))", + "\"migratingVersion\" INTEGER NOT NULL)", "CREATE MEMORY TABLE PUBLIC.\"MigrationTest$PKMigrationRecord\"(" + "\"id\" INTEGER DEFAULT 0 NOT NULL," +