public class TestDB
extends com.liferay.portal.dao.db.BaseDB
| Constructor and Description |
|---|
TestDB(com.liferay.portal.kernel.dao.db.DBType dbType,
int majorVersion,
int minorVersion) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildCreateFileContent(String sqlDir,
String databaseName,
int population) |
String |
buildSQL(String template) |
protected String |
getServerName() |
protected int[] |
getSQLTypes() |
protected String[] |
getTemplate() |
protected String |
reword(String data) |
addIndexes, applyMaxStringIndexLengthLimitation, buildColumnNameTokens, buildColumnTypeTokens, buildCreateFile, buildCreateFile, buildSQLFile, buildTableNameTokens, buildTemplate, convertTimestamp, dropIndexes, evaluateVM, getCreateTablesContent, getDBType, getIndexes, getMajorVersion, getMinorVersion, getSQLType, getSuffix, getTemplateBlob, getTemplateFalse, getTemplateTrue, getVersionString, handleSQLException, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsInlineDistinct, isSupportsQueryingAfterException, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, readFile, readSQL, removeBooleanIndexes, removeInserts, removeLongInserts, removeNull, replaceTemplate, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateString, setSupportsStringCaseSensitiveQuery, updateIndexespublic TestDB(com.liferay.portal.kernel.dao.db.DBType dbType,
int majorVersion,
int minorVersion)
public String buildSQL(String template)
throws IOException
buildSQL in interface com.liferay.portal.kernel.dao.db.DBbuildSQL in class com.liferay.portal.dao.db.BaseDBIOExceptionprotected String buildCreateFileContent(String sqlDir,
String databaseName,
int population)
throws IOException
buildCreateFileContent in class com.liferay.portal.dao.db.BaseDBIOExceptionprotected String getServerName()
getServerName in class com.liferay.portal.dao.db.BaseDBprotected int[] getSQLTypes()
getSQLTypes in class com.liferay.portal.dao.db.BaseDBprotected String[] getTemplate()
getTemplate in class com.liferay.portal.dao.db.BaseDBprotected String reword(String data)
throws IOException
reword in class com.liferay.portal.dao.db.BaseDBIOException