public class

AddUniqueConstraintCommand

extends Object
implements AlterTableCommand
java.lang.Object
   ↳ com.atlassian.confluence.upgrade.ddl.AddUniqueConstraintCommand

Class Overview

Represents a unique constraint on a set of columns. Beware columns that allow null values! On SQL Server and Oracle, nulls are distinct values (and so constraints over them will prevent two rows containing nulls in those columns). On MySQL nulls will cause the constraint to be ignored, no matter the values in any other constrained columns. On DB2, nullable columns cannot have unique constraints at all.

Summary

Public Constructors
AddUniqueConstraintCommand(String constraintName, Collection<String> columns)
Public Methods
String getCommandName()
String getCommandParameters()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.upgrade.ddl.AlterTableCommand

Public Constructors

public AddUniqueConstraintCommand (String constraintName, Collection<String> columns)

Public Methods

public String getCommandName ()

public String getCommandParameters ()