getAlterTableToAddUniqueKeyCommand.
Also, see getAlterTableToDropUniqueKeyCommand
getTableCreationUniqueConstraintsFragment
getColumnDefinitionUniquenessFragment
| Modifier and Type | Method and Description |
|---|---|
| public default String | Returns: The ALTER TABLE commandThe UniqueKey instance. Contains all information about the columns uniqueKey, Metadata Access to the bootstrap mapping information metadata)
Deprecated
Implement
Get the SQL ALTER TABLE command to be used to create the given UniqueKey.
getAlterTableToAddUniqueKeyCommand(UniqueKey, Metadata, SqlStringGenerationContext) instead.
|
| public default String | Returns: The ALTER TABLE commandThe UniqueKey instance. Contains all information about the columns uniqueKey, Metadata Access to the bootstrap mapping information metadata, SqlStringGenerationContext A context for SQL string generation context)
Deprecated
as a consequence of
Get the SQL ALTER TABLE command to be used to create the given UniqueKey.
UniqueKey being deprecated.
|
| public default String | Returns: The ALTER TABLE commandThe UniqueKey instance. Contains all information about the columns uniqueKey, Metadata Access to the bootstrap mapping information metadata)
Deprecated
Implement
Get the SQL ALTER TABLE command to be used to drop the given UniqueKey.
getAlterTableToDropUniqueKeyCommand(UniqueKey, Metadata, SqlStringGenerationContext) instead.
|
| public default String | Returns: The ALTER TABLE commandThe UniqueKey instance. Contains all information about the columns uniqueKey, Metadata Access to the bootstrap mapping information metadata, SqlStringGenerationContext A context for SQL string generation context)
Deprecated
as a consequence of
Get the SQL ALTER TABLE command to be used to drop the given UniqueKey.
UniqueKey being deprecated.
|
| public default String | Returns: The fragment (usually "unique"), empty string indicates the uniqueness will be indicated using a different approachThe column to which to apply the unique column)
Deprecated
Implement
Get the fragment that can be used to make a column unique as part of its column definition.
getColumnDefinitionUniquenessFragment(Column, SqlStringGenerationContext) instead.
|
| public default String | Returns: The fragment (usually "unique"), empty string indicates the uniqueness will be indicated using a different approachThe column to which to apply the unique column, SqlStringGenerationContext A context for SQL string generation context)Get the fragment that can be used to make a column unique as part of its column definition. |
| public default String | Returns: The fragment, typically in the form", unique(col1, col2), unique( col20)".Note The leading comma is important! The table for which to generate the unique constraints fragment table)
Deprecated
Implement
Get the fragment that can be used to apply unique constraints as part of table creation.
getTableCreationUniqueConstraintsFragment(Table, SqlStringGenerationContext) instead.
|
| public default String | Returns: The fragment, typically in the form", unique(col1, col2), unique( col20)".Note The leading comma is important! The table for which to generate the unique constraints fragment table, SqlStringGenerationContext A context for SQL string generation context)
Deprecated
as a consequence of
Get the fragment that can be used to apply unique constraints as part of table creation.
Table being deprecated.
|
| getAlterTableToAddUniqueKeyCommand | back to summary |
|---|---|
| public default String getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata)
Deprecated Implement Get the SQL ALTER TABLE command to be used to create the given UniqueKey.
| |
| getAlterTableToAddUniqueKeyCommand | back to summary |
|---|---|
| public default String getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
Deprecated as a consequence of Get the SQL ALTER TABLE command to be used to create the given UniqueKey.
| |
| getAlterTableToDropUniqueKeyCommand | back to summary |
|---|---|
| public default String getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata)
Deprecated Implement Get the SQL ALTER TABLE command to be used to drop the given UniqueKey.
| |
| getAlterTableToDropUniqueKeyCommand | back to summary |
|---|---|
| public default String getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
Deprecated as a consequence of Get the SQL ALTER TABLE command to be used to drop the given UniqueKey.
| |
| getColumnDefinitionUniquenessFragment | back to summary |
|---|---|
| public default String getColumnDefinitionUniquenessFragment(Column column)
Deprecated Implement Get the fragment that can be used to make a column unique as part of its column definition. This is intended for dialects which do not support unique constraints | |
| getColumnDefinitionUniquenessFragment | back to summary |
|---|---|
| public default String getColumnDefinitionUniquenessFragment(Column column, SqlStringGenerationContext context) Get the fragment that can be used to make a column unique as part of its column definition. This is intended for dialects which do not support unique constraints
| |
| getTableCreationUniqueConstraintsFragment | back to summary |
|---|---|
| public default String getTableCreationUniqueConstraintsFragment(Table table)
Deprecated Implement Get the fragment that can be used to apply unique constraints as part of table creation. The implementation
should iterate over the Intended for Dialects which support unique constraint definitions, but just not in separate ALTER statements. | |
| getTableCreationUniqueConstraintsFragment | back to summary |
|---|---|
| public default String getTableCreationUniqueConstraintsFragment(Table table, SqlStringGenerationContext context)
Deprecated as a consequence of Get the fragment that can be used to apply unique constraints as part of table creation. The implementation
should iterate over the Intended for Dialects which support unique constraint definitions, but just not in separate ALTER statements.
| |