ALTER_COLUMN_NAME, ALTER_COLUMN_TYPE, ALTER_TABLE_NAME, CREATE_TABLE, DROP_INDEX, DROP_PRIMARY_KEY, RENAME_TABLE_TEMPLATE, REWORD_TEMPLATE, TEMPLATE| Modifier | Constructor and Description |
|---|---|
protected |
MySQLDB(com.liferay.portal.kernel.dao.db.DBType dbType,
int majorVersion,
int minorVersion) |
|
MySQLDB(int majorVersion,
int minorVersion) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildSQL(String template) |
List<com.liferay.portal.kernel.dao.db.Index> |
getIndexes(Connection connection) |
String |
getNewUuidFunctionName() |
String |
getPopulateSQL(String databaseName,
String sqlContent) |
String |
getRecreateSQL(String databaseName) |
protected int[] |
getSQLTypes() |
protected String[] |
getTemplate() |
boolean |
isSupportsNewUuidFunction() |
boolean |
isSupportsUpdateWithInnerJoin() |
protected String |
reword(String data) |
addIndexes, buildColumnNameTokens, buildColumnTypeTokens, buildTableNameTokens, dropIndexes, getDBType, getIndexResultSet, getMajorVersion, getMinorVersion, getPrimaryKeysResultSet, getSQLType, getSQLVarcharSize, getSQLVarcharSizes, getTemplateBlob, getTemplateFalse, getTemplateTrue, getVersionString, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsInlineDistinct, isSupportsQueryingAfterException, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, limitColumnLength, process, replaceTemplate, runSQL, runSQL, runSQL, runSQL, runSQLTemplateString, runSQLTemplateString, setSupportsStringCaseSensitiveQuery, updateIndexespublic MySQLDB(int majorVersion,
int minorVersion)
protected MySQLDB(com.liferay.portal.kernel.dao.db.DBType dbType,
int majorVersion,
int minorVersion)
public String buildSQL(String template)
throws IOException
public List<com.liferay.portal.kernel.dao.db.Index> getIndexes(Connection connection)
throws SQLException
getIndexes in interface com.liferay.portal.kernel.dao.db.DBgetIndexes in class BaseDBSQLExceptionpublic String getNewUuidFunctionName()
public String getPopulateSQL(String databaseName,
String sqlContent)
public String getRecreateSQL(String databaseName)
public boolean isSupportsNewUuidFunction()
public boolean isSupportsUpdateWithInnerJoin()
isSupportsUpdateWithInnerJoin in interface com.liferay.portal.kernel.dao.db.DBisSupportsUpdateWithInnerJoin in class BaseDBprotected int[] getSQLTypes()
getSQLTypes in class BaseDBprotected String[] getTemplate()
getTemplate in class BaseDB