com.atlassian.confluence.upgrade.ddl
Class DropForeignKeyConstraintCommandFactory

java.lang.Object
  extended by com.atlassian.confluence.upgrade.ddl.DropForeignKeyConstraintCommandFactory

public class DropForeignKeyConstraintCommandFactory
extends java.lang.Object


Constructor Summary
DropForeignKeyConstraintCommandFactory(BootstrapManager bootstrapManager, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, net.sf.hibernate.SessionFactory sessionFactory)
           
 
Method Summary
 DropForeignKeyConstraintCommand getCommand(java.lang.String tableName, java.lang.String columnName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropForeignKeyConstraintCommandFactory

public DropForeignKeyConstraintCommandFactory(BootstrapManager bootstrapManager,
                                              org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
                                              net.sf.hibernate.SessionFactory sessionFactory)
Method Detail

getCommand

public DropForeignKeyConstraintCommand getCommand(java.lang.String tableName,
                                                  java.lang.String columnName)
Returns:
A command to drop the FK's on the specified column, null if the column cannot be found.


Copyright © 2003-2014 Atlassian. All Rights Reserved.