public final class RenameTableCommand extends Object implements DdlCommand
| Constructor and Description |
|---|
RenameTableCommand(com.atlassian.config.db.HibernateConfig hibernateConfig,
String oldTableName,
String newTableName)
Deprecated.
since 7.20
|
RenameTableCommand(com.atlassian.config.db.HibernateConfig hibernateConfig,
String oldTableName,
String newTableName,
boolean oldTableNameQuoted,
boolean newTableNameQuoted)
Deprecated.
since 7.20
|
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.
|
RenameTableCommand(HibernateDatabaseCapabilities databaseCapabilities,
String oldTableName,
String newTableName,
boolean oldTableNameQuoted,
boolean newTableNameQuoted)
Create a rename table command
|
public RenameTableCommand(HibernateDatabaseCapabilities databaseCapabilities, String oldTableName, String newTableName, boolean oldTableNameQuoted, boolean newTableNameQuoted)
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)public RenameTableCommand(HibernateDatabaseCapabilities databaseCapabilities, String oldTableName, String newTableName)
databaseCapabilities - Hibernate configuration objectoldTableName - existing table namenewTableName - new table name@Deprecated public RenameTableCommand(com.atlassian.config.db.HibernateConfig hibernateConfig, String oldTableName, String newTableName, boolean oldTableNameQuoted, boolean newTableNameQuoted)
hibernateConfig - 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)@Deprecated public RenameTableCommand(com.atlassian.config.db.HibernateConfig hibernateConfig, String oldTableName, String newTableName)
hibernateConfig - Hibernate configuration objectoldTableName - existing table namenewTableName - new table namepublic String getStatement()
getStatement in interface DdlCommandCopyright © 2003–2022 Atlassian. All rights reserved.