com.liferay.portal.kernel.dao.db
Interface DB
public interface DB
View Source
- Author:
- Brian Wing Shun Chan
MINIMAL
static final int MINIMAL
- See Also:
- Constant Field Values
POPULATED
static final int POPULATED
- See Also:
- Constant Field Values
SHARDED
static final int SHARDED
- See Also:
- Constant Field Values
TYPE_DB2
static final java.lang.String TYPE_DB2
- See Also:
- Constant Field Values
TYPE_DERBY
static final java.lang.String TYPE_DERBY
- See Also:
- Constant Field Values
TYPE_FIREBIRD
static final java.lang.String TYPE_FIREBIRD
- See Also:
- Constant Field Values
TYPE_HYPERSONIC
static final java.lang.String TYPE_HYPERSONIC
- See Also:
- Constant Field Values
TYPE_INFORMIX
static final java.lang.String TYPE_INFORMIX
- See Also:
- Constant Field Values
TYPE_INGRES
static final java.lang.String TYPE_INGRES
- See Also:
- Constant Field Values
TYPE_INTERBASE
static final java.lang.String TYPE_INTERBASE
- See Also:
- Constant Field Values
TYPE_JDATASTORE
static final java.lang.String TYPE_JDATASTORE
- See Also:
- Constant Field Values
TYPE_MYSQL
static final java.lang.String TYPE_MYSQL
- See Also:
- Constant Field Values
TYPE_ORACLE
static final java.lang.String TYPE_ORACLE
- See Also:
- Constant Field Values
TYPE_POSTGRESQL
static final java.lang.String TYPE_POSTGRESQL
- See Also:
- Constant Field Values
TYPE_SAP
static final java.lang.String TYPE_SAP
- See Also:
- Constant Field Values
TYPE_SQLSERVER
static final java.lang.String TYPE_SQLSERVER
- See Also:
- Constant Field Values
TYPE_SYBASE
static final java.lang.String TYPE_SYBASE
- See Also:
- Constant Field Values
TYPE_ALL
static final java.lang.String[] TYPE_ALL
buildCreateFile
void buildCreateFile(java.lang.String databaseName)
throws java.io.IOException
- Throws:
java.io.IOException
buildCreateFile
void buildCreateFile(java.lang.String databaseName,
int population)
throws java.io.IOException
- Throws:
java.io.IOException
buildSQL
java.lang.String buildSQL(java.lang.String template)
throws java.io.IOException
- Throws:
java.io.IOException
buildSQLFile
void buildSQLFile(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
getTemplateFalse
java.lang.String getTemplateFalse()
getTemplateTrue
java.lang.String getTemplateTrue()
getType
java.lang.String getType()
isSupportsAlterColumnName
boolean isSupportsAlterColumnName()
isSupportsAlterColumnType
boolean isSupportsAlterColumnType()
isSupportsDateMilliseconds
boolean isSupportsDateMilliseconds()
isSupportsScrollableResults
boolean isSupportsScrollableResults()
isSupportsStringCaseSensitiveQuery
boolean isSupportsStringCaseSensitiveQuery()
isSupportsUpdateWithInnerJoin
boolean isSupportsUpdateWithInnerJoin()
runSQL
void runSQL(java.lang.String sql)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
runSQL
void runSQL(java.sql.Connection con,
java.lang.String sql)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
runSQL
void runSQL(java.lang.String[] sqls)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
runSQL
void runSQL(java.sql.Connection con,
java.lang.String[] sqls)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
runSQLTemplate
void runSQLTemplate(java.lang.String path)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
- Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException
runSQLTemplate
void runSQLTemplate(java.lang.String path,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
- Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException
runSQLTemplateString
void runSQLTemplateString(java.lang.String template,
boolean evaluate,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
- Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException
setSupportsStringCaseSensitiveQuery
void setSupportsStringCaseSensitiveQuery(boolean supportsStringCaseSensitiveQuery)