mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
WIP h2database v2
This commit is contained in:
1 parent
6cc5e83b01
commit
860aad11ce
14 files changed
+37
-22
No files matched your search
+7
-1
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user