Class DB2Ddl
- java.lang.Object
-
- io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
-
- io.ebeaninternal.dbmigration.ddlgeneration.platform.DB2Ddl
-
public class DB2Ddl extends PlatformDdl
DB2 platform specific DDL.
-
-
Constructor Summary
Constructors Constructor Description DB2Ddl(io.ebean.config.dbplatform.DatabasePlatform platform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalterTableAddUniqueConstraint(String tableName, String uqName, String[] columns, String[] nullableColumns)Add a unique constraint to the table.-
Methods inherited from class io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
addColumnComment, addHistoryTable, addTableComment, addTablePartition, alterColumnBaseAttributes, alterColumnDefaultValue, alterColumnNotnull, alterColumnType, alterTableAddCheckConstraint, alterTableAddColumn, alterTableAddForeignKey, alterTableDropColumn, alterTableDropConstraint, alterTableDropForeignKey, alterTableDropUniqueConstraint, asIdentityColumn, configure, convert, convertDefaultValue, createCheckConstraint, createDdlHandler, createIndex, createSequence, createWithHistory, dropHistoryTable, dropIndex, dropIndex, dropSequence, dropTable, generateEpilog, generateProlog, getCreateTableCommandPrefix, getPlatform, getUpdateNullWithDefault, inlineTableComment, isIncludeStorageEngine, isInlineComments, isInlineForeignKeys, isInlineUniqueWhenNullable, lockTables, regenerateHistoryTriggers, setLockTimeout, suppressPrimaryKeyOnPartition, tableInlineForeignKey, tableStorageEngine, unlockTables, useIdentityType, writeTableColumns
-
-
-
-
Constructor Detail
-
DB2Ddl
public DB2Ddl(io.ebean.config.dbplatform.DatabasePlatform platform)
-
-
Method Detail
-
alterTableAddUniqueConstraint
public String alterTableAddUniqueConstraint(String tableName, String uqName, String[] columns, String[] nullableColumns)
Description copied from class:PlatformDdlAdd a unique constraint to the table.Overridden by MsSqlServer for specific null handling on unique constraints.
- Overrides:
alterTableAddUniqueConstraintin classPlatformDdl
-
-