Test against H2 1.4.199

This commit is contained in:
Roland Praml committed 2022-01-27 13:56:21 +01:00
1 parent 404b167bcc
commit 4a20c9eb99
9 files changed
+43 -13

No files matched your search

@@ -7,6 +7,8 @@ import io.ebean.config.dbplatform.DatabasePlatform;
*/
public class H2Ddl extends PlatformDdl {
private static boolean useV1Syntax = Boolean.getBoolean("ebean.h2.useV1Syntax");
public H2Ddl(DatabasePlatform platform) {
super(platform);
this.historyDdl = new H2HistoryDdl();
@@ -22,6 +24,9 @@ public class H2Ddl extends PlatformDdl {
@Override
protected String convertArrayType(String logicalArrayType) {
if (useV1Syntax) {
return "array";
}
int pos = logicalArrayType.indexOf('[');
if (pos == -1) {
return logicalArrayType;