Class DropTableIfExistsCommand
java.lang.Object
com.atlassian.confluence.upgrade.ddl.DropTableIfExistsCommand
- All Implemented Interfaces:
DdlCommand
- Since:
- 7.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic DropTableIfExistsCommandwithEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName) Create the command which will take care of escaping table name itselfstatic DropTableIfExistsCommandwithoutEscapingTableName(com.atlassian.config.db.HibernateConfig config, String tableName) Create the command which will use passed tableName as is, without trying to escape it
-
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
- Specified by:
getStatementin interfaceDdlCommand
-