@ProviderType
public interface DB
| Modifier and Type | Field and Description |
|---|---|
static int |
BARE
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static int |
DEFAULT
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIndexes(java.sql.Connection con,
java.lang.String indexesSQL,
java.util.Set<java.lang.String> validIndexNames) |
void |
buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName,
int population)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
java.lang.String |
buildSQL(java.lang.String template) |
void |
buildSQLFile(java.lang.String sqlDir,
java.lang.String fileName)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
DBType |
getDBType() |
java.util.List<Index> |
getIndexes(java.sql.Connection con) |
int |
getMajorVersion() |
int |
getMinorVersion() |
default java.lang.String |
getNewUuidFunctionName() |
java.lang.String |
getPopulateSQL(java.lang.String databaseName,
java.lang.String sqlContent) |
java.lang.String |
getRecreateSQL(java.lang.String databaseName) |
java.lang.Integer |
getSQLType(java.lang.String templateType) |
java.lang.String |
getTemplateBlob() |
java.lang.String |
getTemplateFalse() |
java.lang.String |
getTemplateTrue() |
java.lang.String |
getVersionString() |
long |
increment()
Deprecated.
As of Athanasius (7.3.x), replaced by
CounterLocalServiceUtil#increment() |
long |
increment(java.lang.String name)
Deprecated.
As of Athanasius (7.3.x), replaced by
CounterLocalServiceUtil#increment(String) |
long |
increment(java.lang.String name,
int size)
Deprecated.
As of Athanasius (7.3.x), replaced by
CounterLocalServiceUtil#increment(String, int) |
boolean |
isSupportsAlterColumnName() |
boolean |
isSupportsAlterColumnType() |
boolean |
isSupportsInlineDistinct() |
default boolean |
isSupportsNewUuidFunction() |
boolean |
isSupportsQueryingAfterException() |
boolean |
isSupportsScrollableResults() |
boolean |
isSupportsStringCaseSensitiveQuery() |
boolean |
isSupportsUpdateWithInnerJoin() |
default void |
runSQL(java.sql.Connection con,
DBTypeToSQLMap dbTypeToSQLMap) |
void |
runSQL(java.sql.Connection con,
java.lang.String sql) |
void |
runSQL(java.sql.Connection con,
java.lang.String[] sqls) |
default void |
runSQL(DBTypeToSQLMap dbTypeToSQLMap) |
void |
runSQL(java.lang.String sql) |
void |
runSQL(java.lang.String[] sqls) |
void |
runSQLTemplate(java.lang.String path)
Deprecated.
As of Athanasius (7.3.x), replaced by
DBProcess.runSQLTemplate(String) |
void |
runSQLTemplate(java.lang.String path,
boolean failOnError)
Deprecated.
As of Athanasius (7.3.x), replaced by
DBProcess.runSQLTemplate(String, boolean) |
void |
runSQLTemplateString(java.sql.Connection connection,
java.lang.String template,
boolean failOnError) |
void |
runSQLTemplateString(java.sql.Connection connection,
java.lang.String template,
boolean evaluate,
boolean failOnError)
Deprecated.
As of Athanasius (7.3.x), replaced by
runSQLTemplateString(Connection, String, boolean) |
void |
runSQLTemplateString(java.lang.String template,
boolean failOnError) |
void |
runSQLTemplateString(java.lang.String template,
boolean evaluate,
boolean failOnError)
Deprecated.
As of Athanasius (7.3.x), replaced by
runSQLTemplateString(String, boolean) |
void |
setSupportsStringCaseSensitiveQuery(boolean supportsStringCaseSensitiveQuery) |
void |
updateIndexes(java.sql.Connection con,
java.lang.String tablesSQL,
java.lang.String indexesSQL,
boolean dropStaleIndexes) |
@Deprecated static final int BARE
@Deprecated static final int DEFAULT
void addIndexes(java.sql.Connection con,
java.lang.String indexesSQL,
java.util.Set<java.lang.String> validIndexNames)
throws java.io.IOException
java.io.IOException@Deprecated
void buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName)
throws java.io.IOException
java.io.IOException@Deprecated
void buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName,
int population)
throws java.io.IOException
java.io.IOExceptionjava.lang.String buildSQL(java.lang.String template)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLException@Deprecated
void buildSQLFile(java.lang.String sqlDir,
java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionDBType getDBType()
java.util.List<Index> getIndexes(java.sql.Connection con) throws java.sql.SQLException
java.sql.SQLExceptionint getMajorVersion()
int getMinorVersion()
default java.lang.String getNewUuidFunctionName()
java.lang.String getPopulateSQL(java.lang.String databaseName,
java.lang.String sqlContent)
java.lang.String getRecreateSQL(java.lang.String databaseName)
java.lang.Integer getSQLType(java.lang.String templateType)
java.lang.String getTemplateBlob()
java.lang.String getTemplateFalse()
java.lang.String getTemplateTrue()
java.lang.String getVersionString()
@Deprecated long increment()
CounterLocalServiceUtil#increment()@Deprecated long increment(java.lang.String name)
CounterLocalServiceUtil#increment(String)@Deprecated
long increment(java.lang.String name,
int size)
CounterLocalServiceUtil#increment(String, int)boolean isSupportsAlterColumnName()
boolean isSupportsAlterColumnType()
boolean isSupportsInlineDistinct()
default boolean isSupportsNewUuidFunction()
boolean isSupportsQueryingAfterException()
boolean isSupportsScrollableResults()
boolean isSupportsStringCaseSensitiveQuery()
boolean isSupportsUpdateWithInnerJoin()
default void runSQL(java.sql.Connection con,
DBTypeToSQLMap dbTypeToSQLMap)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQL(java.sql.Connection con,
java.lang.String sql)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQL(java.sql.Connection con,
java.lang.String[] sqls)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptiondefault void runSQL(DBTypeToSQLMap dbTypeToSQLMap) throws java.io.IOException, java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQL(java.lang.String sql)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQL(java.lang.String[] sqls)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLException@Deprecated
void runSQLTemplate(java.lang.String path)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
DBProcess.runSQLTemplate(String)java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLException@Deprecated
void runSQLTemplate(java.lang.String path,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
DBProcess.runSQLTemplate(String, boolean)java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionvoid runSQLTemplateString(java.sql.Connection connection,
java.lang.String template,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLException@Deprecated
void runSQLTemplateString(java.sql.Connection connection,
java.lang.String template,
boolean evaluate,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
runSQLTemplateString(Connection, String, boolean)java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionvoid runSQLTemplateString(java.lang.String template,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLException@Deprecated
void runSQLTemplateString(java.lang.String template,
boolean evaluate,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
runSQLTemplateString(String, boolean)java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionvoid setSupportsStringCaseSensitiveQuery(boolean supportsStringCaseSensitiveQuery)
void updateIndexes(java.sql.Connection con,
java.lang.String tablesSQL,
java.lang.String indexesSQL,
boolean dropStaleIndexes)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLException