com.atlassian.confluence.upgrade.ddl
Class CreateUniqueConstraintWithMultipleNullsCommand

java.lang.Object
  extended by 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
CreateUniqueConstraintWithMultipleNullsCommand(com.atlassian.config.db.HibernateConfig hibernateConfig, String constraintName, String tableName, String columnName)
           
 
Method Summary
 String getStatement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateUniqueConstraintWithMultipleNullsCommand

public CreateUniqueConstraintWithMultipleNullsCommand(com.atlassian.config.db.HibernateConfig hibernateConfig,
                                                      String constraintName,
                                                      String tableName,
                                                      String columnName)
Method Detail

getStatement

public String getStatement()
Specified by:
getStatement in interface DdlCommand


Copyright © 2003–2015 Atlassian. All rights reserved.