public class UpgradeMySQL
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
Constructor and Description |
---|
UpgradeMySQL() |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpgrade() |
protected String |
getActualColumnType(Statement statement,
String tableName,
String columnName) |
protected void |
upgradeDatetimePrecision() |
protected void |
upgradeDatetimePrecision(DatabaseMetaData databaseMetaData,
Statement statement,
String catalog,
String schemaPattern,
String tableName) |
protected void |
upgradeTableEngine() |
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getPostUpgradeSteps, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade, upgrade
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
protected void doUpgrade() throws Exception
doUpgrade
in class com.liferay.portal.kernel.upgrade.UpgradeProcess
Exception
protected String getActualColumnType(Statement statement, String tableName, String columnName) throws SQLException
SQLException
protected void upgradeDatetimePrecision() throws Exception
Exception
protected void upgradeDatetimePrecision(DatabaseMetaData databaseMetaData, Statement statement, String catalog, String schemaPattern, String tableName) throws SQLException
SQLException
protected void upgradeTableEngine() throws Exception
Exception