public final class RenameTableCommand extends Object implements DdlCommand
Constructor and Description |
---|
RenameTableCommand(com.atlassian.config.db.HibernateConfig hibernateConfig,
String oldTableName,
String newTableName)
Create a rename table command for table renames where both the old and new names aren't quoted.
|
RenameTableCommand(com.atlassian.config.db.HibernateConfig hibernateConfig,
String oldTableName,
String newTableName,
boolean oldTableNameQuoted,
boolean newTableNameQuoted)
Create a rename table command
|
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)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 DdlCommand
Copyright © 2003–2019 Atlassian. All rights reserved.