public DdlGenContext(DatabasePlatform dbPlatform, NamingConvention namingConvention){ this.dbPlatform = dbPlatform; this.dbTypeMap = dbPlatform.getDbTypeMap(); this.ddlSyntax = dbPlatform.getDbDdlSyntax(); this.newLine = ddlSyntax.getNewLine(); this.namingConvention = namingConvention; }
public DdlGenContext(DatabasePlatform dbPlatform, NamingConvention namingConvention){ this.dbPlatform = dbPlatform; this.dbTypeMap = dbPlatform.getDbTypeMap(); this.ddlSyntax = dbPlatform.getDbDdlSyntax(); this.newLine = ddlSyntax.getNewLine(); this.namingConvention = namingConvention; }
public PlatformDdl(DatabasePlatform platform) { this.platform = platform; this.dbIdentity = platform.getDbIdentity(); this.dbDefaultValue = platform.getDbDefaultValue(); this.typeConverter = new PlatformTypeConverter(platform.getDbTypeMap()); }