Class RenameTableCommand
java.lang.Object
com.atlassian.confluence.upgrade.ddl.RenameTableCommand
- All Implemented Interfaces:
DdlCommand
Used to rename a table
- Since:
- 5.7
-
Constructor Summary
ConstructorsConstructorDescriptionRenameTableCommand
(HibernateDatabaseCapabilities databaseCapabilities, String oldTableName, String newTableName) Create a rename table command for table renames where both the old and new names aren't quoted.RenameTableCommand
(HibernateDatabaseCapabilities databaseCapabilities, String oldTableName, String newTableName, boolean oldTableNameQuoted, boolean newTableNameQuoted) Create a rename table command -
Method Summary
-
Constructor Details
-
RenameTableCommand
public RenameTableCommand(HibernateDatabaseCapabilities databaseCapabilities, String oldTableName, String newTableName, boolean oldTableNameQuoted, boolean newTableNameQuoted) Create a rename table command- Parameters:
databaseCapabilities
- Hibernate configuration objectoldTableName
- existing table namenewTableName
- new table nameoldTableNameQuoted
- whether the existing table is quoted (always true for AO tables).newTableNameQuoted
- whether the new table name is quoted (always true for AO tables)- Since:
- 7.13.17
-
RenameTableCommand
public RenameTableCommand(HibernateDatabaseCapabilities databaseCapabilities, String oldTableName, String newTableName) Create a rename table command for table renames where both the old and new names aren't quoted.- Parameters:
databaseCapabilities
- Hibernate configuration objectoldTableName
- existing table namenewTableName
- new table name- Since:
- 7.13.17
-
-
Method Details
-
getStatement
- Specified by:
getStatement
in interfaceDdlCommand
-