Class CreateUniqueConstraintWithMultipleNullsCommand
- java.lang.Object
-
- com.atlassian.confluence.upgrade.ddl.CreateUniqueConstraintWithMultipleNullsCommand
-
- All Implemented Interfaces:
DdlCommand
public class CreateUniqueConstraintWithMultipleNullsCommand extends Object implements DdlCommand
This command can be used for enforcing uniqueness of non-null values in nullable columns.
-
-
Constructor Summary
Constructors Constructor Description CreateUniqueConstraintWithMultipleNullsCommand(com.atlassian.config.db.HibernateConfig hibernateConfig, String constraintName, String tableName, String columnName)
Deprecated.since 7.20CreateUniqueConstraintWithMultipleNullsCommand(HibernateDatabaseCapabilities databaseCapabilities, String constraintName, String tableName, String columnName)
-
-
-
Constructor Detail
-
CreateUniqueConstraintWithMultipleNullsCommand
public CreateUniqueConstraintWithMultipleNullsCommand(HibernateDatabaseCapabilities databaseCapabilities, String constraintName, String tableName, String columnName)
- Since:
- 7.20
-
CreateUniqueConstraintWithMultipleNullsCommand
@Deprecated public CreateUniqueConstraintWithMultipleNullsCommand(com.atlassian.config.db.HibernateConfig hibernateConfig, String constraintName, String tableName, String columnName)
Deprecated.since 7.20
-
-
Method Detail
-
getStatement
public String getStatement()
- Specified by:
getStatement
in interfaceDdlCommand
-
-