mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
Test against H2 1.4.199
This commit is contained in:
1 parent
404b167bcc
commit
4a20c9eb99
9 files changed
+43
-13
No files matched your search
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user