Class DropTableIfExistsCommand

java.lang.Object
com.atlassian.confluence.upgrade.ddl.DropTableIfExistsCommand
All Implemented Interfaces:
DdlCommand

public class DropTableIfExistsCommand extends Object implements DdlCommand
Since:
7.0.0
  • Method Details

    • withEscapingTableName

      public static DropTableIfExistsCommand withEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)
      Create the command which will take care of escaping table name itself
    • withoutEscapingTableName

      public static DropTableIfExistsCommand withoutEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)
      Create the command which will use passed tableName as is, without trying to escape it
    • getStatement

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