aboutsummaryrefslogtreecommitdiffstats
path: root/tests/com/iciql/test/ClobTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/com/iciql/test/ClobTest.java')
-rw-r--r--tests/com/iciql/test/ClobTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/com/iciql/test/ClobTest.java b/tests/com/iciql/test/ClobTest.java
index 1f2eff4..aada364 100644
--- a/tests/com/iciql/test/ClobTest.java
+++ b/tests/com/iciql/test/ClobTest.java
@@ -38,14 +38,14 @@ public class ClobTest {
@Test
public void testClob() throws Exception {
String create = "CREATE TABLE CLOB_TEST(ID INT PRIMARY KEY, WORDS {0})";
- Db db = Db.open("jdbc:h2:mem:", "sa", "sa");
+ Db db = IciqlSuite.openDb();
db.executeUpdate(MessageFormat.format(create, "VARCHAR(255)"));
db.insertAll(StringRecord.getList());
testSimpleUpdate(db, "VARCHAR fail");
db.close();
- db = Db.open("jdbc:h2:mem:", "sa", "sa");
- db.executeUpdate(MessageFormat.format(create, "TEXT"));
+ db = IciqlSuite.openDb();
+ db.executeUpdate(MessageFormat.format(create, "CLOB"));
db.insertAll(StringRecord.getList());
testSimpleUpdate(db, "CLOB fail because of single quote artifacts");
db.close();