WIP h2database v2

This commit is contained in:
Rob Bygrave committed 2021-12-17 23:22:25 +13:00
1 parent 6cc5e83b01
commit 860aad11ce
14 files changed
+37 -22

No files matched your search

@@ -22,6 +22,12 @@ public class H2Ddl extends PlatformDdl {
@Override
protected String convertArrayType(String logicalArrayType) {
return "array";
int pos = logicalArrayType.indexOf('[');
if (pos == -1) {
return logicalArrayType;
} else {
// trim of the fallback varchar length
return logicalArrayType.substring(0, pos) + " array";
}
}
}