public class DropTableIfExistsCommand extends Object implements DdlCommand
Modifier and Type | Method and Description |
---|---|
String |
getStatement() |
static DropTableIfExistsCommand |
withEscapingTableName(com.atlassian.config.db.HibernateConfig config,
String tableName)
Create the command which will take care of escaping table name itself
|
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
|
public static DropTableIfExistsCommand withEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)
public static DropTableIfExistsCommand withoutEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName)
public String getStatement()
getStatement
in interface DdlCommand
Copyright © 2003–2019 Atlassian. All rights reserved.