com.liferay.portal.dao.db
Class OracleDB
java.lang.Object
com.liferay.portal.dao.db.BaseDB
com.liferay.portal.dao.db.OracleDB
- All Implemented Interfaces:
- DB
public class OracleDB
- extends BaseDB
|
Constructor Summary |
OracleDB(int majorVersion,
int minorVersion)
|
| Methods inherited from class com.liferay.portal.dao.db.BaseDB |
addIndexes, applyMaxStringIndexLengthLimitation, buildColumnNameTokens, buildCreateFile, buildCreateFile, buildTableNameTokens, buildTemplate, convertTimestamp, dropIndexes, evaluateVM, getCreateTablesContent, getMajorVersion, getMinorVersion, getSuffix, getTemplateFalse, getTemplateTrue, getType, getVersionString, handleSQLException, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsQueryingAfterException, isSupportsScrollableResults, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, readFile, readSQL, removeBooleanIndexes, removeInserts, removeLongInserts, removeNull, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateString, setSupportsStringCaseSensitiveQuery, updateIndexes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleDB
public OracleDB(int majorVersion,
int minorVersion)
buildSQL
public String buildSQL(String template)
throws IOException
- Specified by:
buildSQL in interface DB- Specified by:
buildSQL in class BaseDB
- Throws:
IOException
buildSQLFile
public void buildSQLFile(String sqlDir,
String fileName)
throws IOException
- Specified by:
buildSQLFile in interface DB- Overrides:
buildSQLFile in class BaseDB
- Throws:
IOException
getIndexes
public List<Index> getIndexes(Connection con)
throws SQLException
- Specified by:
getIndexes in interface DB- Overrides:
getIndexes in class BaseDB
- Throws:
SQLException
isSupportsInlineDistinct
public boolean isSupportsInlineDistinct()
- Specified by:
isSupportsInlineDistinct in interface DB- Overrides:
isSupportsInlineDistinct in class BaseDB
buildColumnTypeTokens
protected String[] buildColumnTypeTokens(String line)
- Overrides:
buildColumnTypeTokens in class BaseDB
buildCreateFileContent
protected String buildCreateFileContent(String sqlDir,
String databaseName,
int population)
throws IOException
- Specified by:
buildCreateFileContent in class BaseDB
- Throws:
IOException
getServerName
protected String getServerName()
- Specified by:
getServerName in class BaseDB
getTemplate
protected String[] getTemplate()
- Specified by:
getTemplate in class BaseDB
replaceTemplate
protected String replaceTemplate(String template,
String[] actual)
- Overrides:
replaceTemplate in class BaseDB
reword
protected String reword(String data)
throws IOException
- Specified by:
reword in class BaseDB
- Throws:
IOException