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() |
addTempIndex, clearIndexesCache, ensureTableExists, getConnection, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade, upgradeaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, doHasTable, dropIndexes, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateStringprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected String getActualColumnType(Statement statement,
String tableName,
String columnName)
throws SQLException
SQLExceptionprotected void upgradeDatetimePrecision()
throws Exception
Exceptionprotected void upgradeDatetimePrecision(DatabaseMetaData databaseMetaData,
Statement statement,
String catalog,
String schemaPattern,
String tableName)
throws SQLException
SQLExceptionprotected void upgradeTableEngine()
throws Exception
Exception