public class SQLServerDB
extends com.liferay.portal.dao.db.BaseDB
| Constructor and Description |
|---|
SQLServerDB(int majorVersion,
int minorVersion) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildCreateFileContent(java.lang.String sqlDir,
java.lang.String databaseName,
int population) |
java.lang.String |
buildSQL(java.lang.String template) |
java.util.List<com.liferay.portal.kernel.dao.db.Index> |
getIndexes(java.sql.Connection con) |
protected java.lang.String |
getServerName() |
protected java.lang.String[] |
getTemplate() |
boolean |
isSupportsAlterColumnType() |
protected java.lang.String |
reword(java.lang.String data) |
addIndexes, applyMaxStringIndexLengthLimitation, buildColumnNameTokens, buildColumnTypeTokens, buildCreateFile, buildCreateFile, buildSQLFile, buildTableNameTokens, buildTemplate, convertTimestamp, dropIndexes, evaluateVM, getCreateTablesContent, getDBType, getMajorVersion, getMinorVersion, getSuffix, getTemplateBlob, getTemplateFalse, getTemplateTrue, getVersionString, handleSQLException, increment, increment, increment, isSupportsAlterColumnName, isSupportsInlineDistinct, isSupportsQueryingAfterException, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, readFile, readSQL, removeBooleanIndexes, removeInserts, removeLongInserts, removeNull, replaceTemplate, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateString, setSupportsStringCaseSensitiveQuery, updateIndexespublic java.lang.String buildSQL(java.lang.String template)
throws java.io.IOException
buildSQL in interface com.liferay.portal.kernel.dao.db.DBbuildSQL in class com.liferay.portal.dao.db.BaseDBjava.io.IOExceptionpublic java.util.List<com.liferay.portal.kernel.dao.db.Index> getIndexes(java.sql.Connection con)
throws java.sql.SQLException
getIndexes in interface com.liferay.portal.kernel.dao.db.DBgetIndexes in class com.liferay.portal.dao.db.BaseDBjava.sql.SQLExceptionpublic boolean isSupportsAlterColumnType()
isSupportsAlterColumnType in interface com.liferay.portal.kernel.dao.db.DBisSupportsAlterColumnType in class com.liferay.portal.dao.db.BaseDBprotected java.lang.String buildCreateFileContent(java.lang.String sqlDir,
java.lang.String databaseName,
int population)
throws java.io.IOException
buildCreateFileContent in class com.liferay.portal.dao.db.BaseDBjava.io.IOExceptionprotected java.lang.String getServerName()
getServerName in class com.liferay.portal.dao.db.BaseDBprotected java.lang.String[] getTemplate()
getTemplate in class com.liferay.portal.dao.db.BaseDBprotected java.lang.String reword(java.lang.String data)
throws java.io.IOException
reword in class com.liferay.portal.dao.db.BaseDBjava.io.IOException