Class OracleDdl
java.lang.Object
io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
io.ebeaninternal.dbmigration.ddlgeneration.platform.OracleDdl
Oracle platform specific DDL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalterTableAddUniqueConstraint(String tableName, String uqName, String[] columns, String[] nullableColumns) Add a unique constraint to the table.alterTableDropConstraint(String tableName, String constraintName) Drop a unique constraint from the table.alterTableDropUniqueConstraint(String tableName, String uniqueConstraintName) Drop a unique constraint from the table (Sometimes this is an index).asIdentityColumn(String columnDefn, DdlIdentity identity) Modify and return the column definition for autoincrement or identity definition.dropSequence(String sequenceName) Return the drop sequence statement (potentially with if exists clause).Methods inherited from class io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
addColumnComment, addHistoryTable, addTableComment, addTablePartition, addTablespace, alterColumn, alterTableAddCheckConstraint, alterTableAddColumn, alterTableAddColumn, alterTableAddForeignKey, alterTableDropColumn, alterTableDropForeignKey, alterTableTablespace, configure, convert, convertDefaultValue, createCheckConstraint, createDdlHandler, createIndex, createSequence, createWithHistory, dropHistoryTable, dropIndex, dropIndex, dropTable, generateEpilog, generateProlog, getCreateTableCommandPrefix, getPlatform, getUpdateNullWithDefault, inlineTableComment, isIncludeStorageEngine, isInlineComments, isInlineForeignKeys, isInlineUniqueWhenNullable, regenerateHistoryTriggers, setLockTimeout, suppressPrimaryKeyOnPartition, tableInlineForeignKey, tableStorageEngine, useIdentityType, writeTableColumns
-
Constructor Details
-
OracleDdl
-
-
Method Details
-
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
-
dropSequence
Description copied from class:PlatformDdlReturn the drop sequence statement (potentially with if exists clause).- Overrides:
dropSequencein classPlatformDdl
-
alterTableDropConstraint
Description copied from class:PlatformDdlDrop a unique constraint from the table.- Overrides:
alterTableDropConstraintin classPlatformDdl
-
alterTableDropUniqueConstraint
Description copied from class:PlatformDdlDrop a unique constraint from the table (Sometimes this is an index).- Overrides:
alterTableDropUniqueConstraintin classPlatformDdl
-
asIdentityColumn
Modify and return the column definition for autoincrement or identity definition.- Overrides:
asIdentityColumnin classPlatformDdl
-