boolean toUpper = meta.storesUpperCaseIdentifiers();
boolean toLower = meta.storesLowerCaseIdentifiers();
ResultSet rs = meta.getIndexInfo(null, prepName(schema, toUpper, toLower),
- prepName("ANNOTATEDPRODUCT", toUpper, toLower), false, true);
+ prepName("AnnotatedProduct", toUpper, toLower), false, true);
List<String> list = Utils.newArrayList();
while (rs.next()) {
new TestDb("Derby", "memory", "jdbc:derby:memory:iciql;create=true"),
new TestDb("Derby", "file", "jdbc:derby:directory:testdbs/derby/iciql;create=true"),
new TestDb("Derby", "tcp", "jdbc:derby://localhost:1527/testdbs/derby/iciql;create=true", "sa", "sa"),
- new TestDb("MySQL", "tcp", "jdbc:mysql://localhost:3306/iciql?useSSL=false", "sa", "sa"),
+ new TestDb("MySQL", "tcp", "jdbc:mysql://localhost:3306/iciql?useSSL=false&nullNamePatternMatchesAll=true&nullCatalogMeansCurrent=true", "sa", "sa"),
new TestDb("PostgreSQL", "tcp", "jdbc:postgresql://localhost:5432/iciql", "sa", "sa"),
//
} else if (dbName.equals("MySQL")) {
// MySQL uses timestamp default values like
// 0000-00-00 00:00:00 and CURRENT_TIMESTAMP
- assertEquals(1673, models.get(0).length());
+ assertEquals(1571, models.get(0).length());
} else if (dbName.equals("SQLite")) {
assertEquals(1566, models.get(0).length());
} else {