FIX: Compile errors

This commit is contained in:
Roland Praml
2022-01-27 10:34:25 +01:00
parent 48c8f5e2ca
commit d8c2b3d583
5 changed files with 16 additions and 6 deletions
@@ -16,7 +16,7 @@ public class DB2ForIPlatform extends BaseDB2Platform {
public DB2ForIPlatform() {
super();
this.platform = Platform.DB2;
this.platform = Platform.DB2FORI;
// Note: IBM i from 7.1 allow up to to 128
// TODO: Check if we need to introduce older platform (DB2ForI_6 ? but older documentation is not anymore published on ibm.com),
this.maxTableNameLength = 128;
@@ -10,7 +10,7 @@ import io.ebean.annotation.Platform;
public class DB2LuwPlatform extends BaseDB2Platform {
public DB2LuwPlatform() {
super();
this.platform = Platform.DB2; // TODO DB2LUW
this.platform = Platform.DB2LUW;
this.maxTableNameLength = 128;
this.maxConstraintNameLength = 128;
}
@@ -11,7 +11,7 @@ import io.ebean.annotation.Platform;
public class DB2ZosPlatform extends BaseDB2Platform {
public DB2ZosPlatform() {
super();
this.platform = Platform.DB2; // TODO DB2ZOS
this.platform = Platform.DB2ZOS;
this.maxTableNameLength = 128;
this.maxConstraintNameLength = 128;
}