|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectliquibase.database.AbstractJdbcDatabase
public abstract class AbstractJdbcDatabase
AbstractJdbcDatabase is extended by all supported databases as a facade to the underlying database. The physical connection can be retrieved from the AbstractJdbcDatabase implementation, as well as any database-specific characteristics such as the datatype for "boolean" fields.
| Field Summary | |
|---|---|
protected String |
currentDateTimeFunction
|
protected List<DatabaseFunction> |
dateFunctions
|
protected BigInteger |
defaultAutoIncrementBy
|
protected BigInteger |
defaultAutoIncrementStartWith
|
protected String |
defaultCatalogName
|
protected String |
defaultSchemaName
|
protected String |
quotingEndCharacter
|
protected String |
quotingStartCharacter
|
protected ObjectQuotingStrategy |
quotingStrategy
|
protected String |
sequenceCurrentValueFunction
|
protected String |
sequenceNextValueFunction
The sequence name will be substituted into the string e.g. |
protected List<String> |
unmodifiableDataTypes
|
protected Boolean |
unquotedObjectsAreUppercased
|
| Fields inherited from interface liquibase.servicelocator.PrioritizedService |
|---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
| Constructor Summary | |
|---|---|
AbstractJdbcDatabase()
|
|
| Method Summary | |
|---|---|
protected boolean |
canCreateChangeLogTable()
|
void |
checkDatabaseChangeLogLockTable()
This method will check the database ChangeLogLock table used to keep track of if a machine is updating the database. |
void |
checkDatabaseChangeLogTable(boolean updateExistingNullChecksums,
DatabaseChangeLog databaseChangeLog,
String... contexts)
This method will check the database ChangeLog table used to keep track of the changes in the file. |
void |
close()
|
void |
commit()
|
String |
correctObjectName(String objectName,
Class<? extends DatabaseObject> objectType)
Fix the object name to the format the database expects, handling changes in case, etc. |
CatalogAndSchema |
correctSchema(CatalogAndSchema schema)
Returns a new CatalogAndSchema adjusted for this database. |
CatalogAndSchema |
correctSchema(String catalog,
String schema)
|
boolean |
createsIndexesForForeignKeys()
|
boolean |
dataTypeIsNotModifiable(String typeName)
Types like int4 in postgres cannot have a modifier. |
boolean |
disableForeignKeyChecks()
|
boolean |
doesTagExist(String tag)
|
void |
dropDatabaseObjects(CatalogAndSchema schemaToDrop)
Drops all objects owned by the connected user. |
void |
enableForeignKeyChecks()
|
boolean |
equals(Object o)
|
String |
escapeColumnName(String catalogName,
String schemaName,
String tableName,
String columnName)
Escapes a single column name in a database-dependent manner so reserved words can be used as a column name (i.e. |
String |
escapeColumnNameList(String columnNames)
Escapes a list of column names in a database-dependent manner so reserved words can be used as a column name (i.e. |
String |
escapeConstraintName(String constraintName)
|
String |
escapeIndexName(String catalogName,
String schemaName,
String indexName)
|
String |
escapeObjectName(String objectName,
Class<? extends DatabaseObject> objectType)
|
String |
escapeObjectName(String catalogName,
String schemaName,
String objectName,
Class<? extends DatabaseObject> objectType)
|
String |
escapeSequenceName(String catalogName,
String schemaName,
String sequenceName)
|
String |
escapeStringForDatabase(String string)
|
String |
escapeTableName(String catalogName,
String schemaName,
String tableName)
|
String |
escapeViewName(String catalogName,
String schemaName,
String viewName)
|
void |
execute(SqlStatement[] statements,
List<SqlVisitor> sqlVisitors)
|
void |
executeRollbackStatements(Change change,
List<SqlVisitor> sqlVisitors)
|
void |
executeStatements(Change change,
DatabaseChangeLog changeLog,
List<SqlVisitor> sqlVisitors)
|
protected boolean |
generateAutoIncrementBy(BigInteger incrementBy)
|
protected boolean |
generateAutoIncrementStartWith(BigInteger startWith)
|
String |
generateDatabaseFunctionValue(DatabaseFunction databaseFunction)
Some function names are placeholders that need to be replaced with the specific database value. |
String |
generatePrimaryKeyName(String tableName)
|
boolean |
getAutoCommitMode()
Auto-commit mode to run in |
protected String |
getAutoIncrementByClause()
|
protected String |
getAutoIncrementClause()
|
String |
getAutoIncrementClause(BigInteger startWith,
BigInteger incrementBy)
Returns database-specific auto-increment DDL clause. |
protected String |
getAutoIncrementClosing()
|
protected String |
getAutoIncrementOpening()
|
protected String |
getAutoIncrementStartWithClause()
|
String |
getConcatSql(String... values)
Returns SQL to concat the passed values. |
DatabaseConnection |
getConnection()
|
protected String |
getConnectionCatalogName()
|
protected String |
getConnectionSchemaName()
Overwrite this method to get the default schema name for the connection. |
DatabaseObject[] |
getContainingObjects()
|
String |
getCurrentDateTimeFunction()
Returns database-specific function for generating the current date/time. |
String |
getDatabaseChangeLogLockTableName()
|
String |
getDatabaseChangeLogTableName()
|
int |
getDatabaseMajorVersion()
|
int |
getDatabaseMinorVersion()
|
String |
getDatabaseProductName()
Returns the name of the database product according to the underlying database. |
String |
getDatabaseProductVersion()
|
int |
getDataTypeMaxParameters(String dataTypeName)
|
List<DatabaseFunction> |
getDateFunctions()
Returns list of database native date functions |
String |
getDateLiteral(Date date)
|
String |
getDateLiteral(Date date)
|
String |
getDateLiteral(String isoDate)
Return a date literal with the same value as a string formatted using ISO 8601. |
String |
getDateTimeLiteral(Timestamp date)
|
String |
getDefaultCatalogName()
|
protected abstract String |
getDefaultDatabaseProductName()
|
CatalogAndSchema |
getDefaultSchema()
|
String |
getDefaultSchemaName()
|
String |
getJdbcCatalogName(CatalogAndSchema schema)
|
String |
getJdbcCatalogName(Schema schema)
|
String |
getJdbcSchemaName(CatalogAndSchema schema)
|
String |
getJdbcSchemaName(Schema schema)
|
String |
getLineComment()
Returns database-specific line comment string. |
String |
getLiquibaseCatalogName()
|
String |
getLiquibaseSchemaName()
|
String |
getLiquibaseTablespaceName()
|
String |
getName()
|
int |
getNextChangeSetSequenceValue()
|
ObjectQuotingStrategy |
getObjectQuotingStrategy()
|
boolean |
getOutputDefaultCatalog()
|
boolean |
getOutputDefaultSchema()
|
RanChangeSet |
getRanChangeSet(ChangeSet changeSet)
|
List<RanChangeSet> |
getRanChangeSetList()
Returns the ChangeSets that have been run against the current database. |
Date |
getRanDate(ChangeSet changeSet)
|
ChangeSet.RunStatus |
getRunStatus(ChangeSet changeSet)
Returns the run status for the given ChangeSet |
CatalogAndSchema |
getSchemaFromJdbcInfo(String rawCatalogName,
String rawSchemaName)
|
protected Set<String> |
getSystemTables()
Returns system (undroppable) views. |
protected Set<String> |
getSystemViews()
Returns system (undroppable) views. |
String |
getTimeLiteral(Time date)
|
String |
getViewDefinition(CatalogAndSchema schema,
String viewName)
|
boolean |
hasDatabaseChangeLogLockTable()
|
boolean |
hasDatabaseChangeLogTable()
|
int |
hashCode()
|
boolean |
isAutoCommit()
|
boolean |
isCaseSensitive()
|
boolean |
isDatabaseChangeLogLockTableInitialized(boolean tableJustCreated)
|
protected boolean |
isDateOnly(String isoDate)
|
protected boolean |
isDateTime(String isoDate)
|
boolean |
isDefaultCatalog(String catalog)
|
boolean |
isDefaultSchema(String catalog,
String schema)
|
boolean |
isFunction(String string)
|
boolean |
isLiquibaseObject(DatabaseObject object)
|
boolean |
isReservedWord(String string)
|
boolean |
isSafeToRunUpdate()
Default implementation, just look for "local" IPs. |
boolean |
isSystemObject(DatabaseObject example)
|
boolean |
isSystemView(CatalogAndSchema schema,
String viewName)
|
protected boolean |
isTimeOnly(String isoDate)
|
boolean |
jdbcCallsCatalogsSchemas()
|
void |
markChangeSetExecStatus(ChangeSet changeSet,
ChangeSet.ExecType execType)
After the change set has been ran against the database this method will update the change log table with the information. |
Date |
parseDate(String dateAsString)
|
void |
removeRanStatus(ChangeSet changeSet)
|
boolean |
requiresPassword()
|
boolean |
requiresUsername()
|
void |
resetInternalState()
|
protected void |
resetRanChangeSetList()
|
void |
rollback()
|
void |
saveRollbackStatement(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
|
void |
saveStatements(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
|
void |
setAutoCommit(boolean b)
|
void |
setCanCacheLiquibaseTableInfo(boolean canCacheLiquibaseTableInfo)
|
void |
setConnection(DatabaseConnection conn)
|
void |
setCurrentDateTimeFunction(String function)
|
void |
setDatabaseChangeLogLockTableName(String tableName)
Set the table name of the change log lock to the given table name |
void |
setDatabaseChangeLogTableName(String tableName)
Set the table name of the change log to the given table name |
void |
setDefaultCatalogName(String defaultCatalogName)
|
void |
setDefaultSchemaName(String schemaName)
|
void |
setLiquibaseCatalogName(String catalogName)
|
void |
setLiquibaseSchemaName(String schemaName)
|
void |
setLiquibaseTablespaceName(String tablespace)
|
void |
setObjectQuotingStrategy(ObjectQuotingStrategy quotingStrategy)
|
void |
setOutputDefaultCatalog(boolean outputDefaultCatalog)
|
void |
setOutputDefaultSchema(boolean outputDefaultSchema)
Whether the default schema should be included in generated SQL |
protected boolean |
startsWithNumeric(String objectName)
|
boolean |
supportsAutoIncrement()
|
boolean |
supportsCatalogInObjectName(Class<? extends DatabaseObject> type)
|
boolean |
supportsCatalogs()
|
boolean |
supportsDDLInTransaction()
By default databases should support DDL within a transaction. |
boolean |
supportsDropTableCascadeConstraints()
|
boolean |
supportsForeignKeyDisable()
|
boolean |
supportsPrimaryKeyNames()
|
boolean |
supportsRestrictForeignKeys()
|
boolean |
supportsSchemas()
|
boolean |
supportsSequences()
Does the database type support sequence. |
void |
tag(String tagString)
Tags the database changelog with the given string. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface liquibase.database.Database |
|---|
getDefaultDriver, getDefaultPort, getShortName, isCorrectDatabaseImplementation, supportsInitiallyDeferrableColumns, supportsTablespaces |
| Methods inherited from interface liquibase.servicelocator.PrioritizedService |
|---|
getPriority |
| Field Detail |
|---|
protected String defaultCatalogName
protected String defaultSchemaName
protected String currentDateTimeFunction
protected String sequenceNextValueFunction
protected String sequenceCurrentValueFunction
protected String quotingStartCharacter
protected String quotingEndCharacter
protected List<DatabaseFunction> dateFunctions
protected List<String> unmodifiableDataTypes
protected BigInteger defaultAutoIncrementStartWith
protected BigInteger defaultAutoIncrementBy
protected Boolean unquotedObjectsAreUppercased
protected ObjectQuotingStrategy quotingStrategy
| Constructor Detail |
|---|
public AbstractJdbcDatabase()
| Method Detail |
|---|
protected void resetRanChangeSetList()
public String getName()
public boolean requiresPassword()
requiresPassword in interface Databasepublic boolean requiresUsername()
requiresUsername in interface Databasepublic DatabaseObject[] getContainingObjects()
public DatabaseConnection getConnection()
getConnection in interface Databasepublic void setConnection(DatabaseConnection conn)
setConnection in interface Databasepublic boolean getAutoCommitMode()
getAutoCommitMode in interface Databasepublic boolean supportsDDLInTransaction()
supportsDDLInTransaction in interface Databasepublic String getDatabaseProductName()
getDatabaseProductName in interface Databaseprotected abstract String getDefaultDatabaseProductName()
public String getDatabaseProductVersion()
throws DatabaseException
getDatabaseProductVersion in interface DatabaseDatabaseException
public int getDatabaseMajorVersion()
throws DatabaseException
getDatabaseMajorVersion in interface DatabaseDatabaseException
public int getDatabaseMinorVersion()
throws DatabaseException
getDatabaseMinorVersion in interface DatabaseDatabaseExceptionpublic String getDefaultCatalogName()
getDefaultCatalogName in interface Database
protected String getConnectionCatalogName()
throws DatabaseException
DatabaseException
public CatalogAndSchema correctSchema(String catalog,
String schema)
public CatalogAndSchema correctSchema(CatalogAndSchema schema)
Database
correctSchema in interface Database
public String correctObjectName(String objectName,
Class<? extends DatabaseObject> objectType)
Database
correctObjectName in interface Databasepublic CatalogAndSchema getDefaultSchema()
getDefaultSchema in interface Databasepublic String getDefaultSchemaName()
getDefaultSchemaName in interface Databaseprotected String getConnectionSchemaName()
public void setDefaultCatalogName(String defaultCatalogName)
setDefaultCatalogName in interface Databasepublic void setDefaultSchemaName(String schemaName)
setDefaultSchemaName in interface Databaseprotected Set<String> getSystemTables()
protected Set<String> getSystemViews()
public boolean supportsSequences()
supportsSequences in interface Databasepublic boolean supportsAutoIncrement()
supportsAutoIncrement in interface Databasepublic void setCurrentDateTimeFunction(String function)
setCurrentDateTimeFunction in interface Databasepublic String getDateLiteral(String isoDate)
getDateLiteral in interface Databasepublic String getDateTimeLiteral(Timestamp date)
getDateTimeLiteral in interface Databasepublic String getDateLiteral(Date date)
getDateLiteral in interface Databasepublic String getTimeLiteral(Time date)
getTimeLiteral in interface Databasepublic String getDateLiteral(Date date)
getDateLiteral in interface Database
public Date parseDate(String dateAsString)
throws DateParseException
parseDate in interface DatabaseDateParseExceptionprotected boolean isDateOnly(String isoDate)
protected boolean isDateTime(String isoDate)
protected boolean isTimeOnly(String isoDate)
public String getLineComment()
getLineComment in interface Database
public String getAutoIncrementClause(BigInteger startWith,
BigInteger incrementBy)
getAutoIncrementClause in interface Databaseprotected String getAutoIncrementClause()
protected boolean generateAutoIncrementStartWith(BigInteger startWith)
protected boolean generateAutoIncrementBy(BigInteger incrementBy)
protected String getAutoIncrementOpening()
protected String getAutoIncrementClosing()
protected String getAutoIncrementStartWithClause()
protected String getAutoIncrementByClause()
public String getConcatSql(String... values)
Database
getConcatSql in interface Databasepublic String getDatabaseChangeLogTableName()
getDatabaseChangeLogTableName in interface DatabaseDatabase.getDatabaseChangeLogTableName()public String getDatabaseChangeLogLockTableName()
getDatabaseChangeLogLockTableName in interface DatabaseDatabase.getDatabaseChangeLogLockTableName()public String getLiquibaseTablespaceName()
getLiquibaseTablespaceName in interface DatabaseDatabase.getLiquibaseTablespaceName()public void setDatabaseChangeLogTableName(String tableName)
Database
setDatabaseChangeLogTableName in interface DatabaseDatabase.setDatabaseChangeLogTableName(java.lang.String)public void setDatabaseChangeLogLockTableName(String tableName)
Database
setDatabaseChangeLogLockTableName in interface DatabaseDatabase.setDatabaseChangeLogLockTableName(java.lang.String)public void setLiquibaseTablespaceName(String tablespace)
setLiquibaseTablespaceName in interface DatabaseDatabase.setLiquibaseTablespaceName(java.lang.String)
public void checkDatabaseChangeLogTable(boolean updateExistingNullChecksums,
DatabaseChangeLog databaseChangeLog,
String... contexts)
throws DatabaseException
checkDatabaseChangeLogTable in interface DatabaseupdateExistingNullChecksums - contexts -
DatabaseException
protected boolean canCreateChangeLogTable()
throws DatabaseException
DatabaseExceptionpublic void setCanCacheLiquibaseTableInfo(boolean canCacheLiquibaseTableInfo)
setCanCacheLiquibaseTableInfo in interface Database
public boolean hasDatabaseChangeLogTable()
throws DatabaseException
hasDatabaseChangeLogTable in interface DatabaseDatabaseException
public boolean hasDatabaseChangeLogLockTable()
throws DatabaseException
hasDatabaseChangeLogLockTable in interface DatabaseDatabaseException
public boolean isDatabaseChangeLogLockTableInitialized(boolean tableJustCreated)
throws DatabaseException
DatabaseExceptionpublic String getLiquibaseCatalogName()
getLiquibaseCatalogName in interface Databasepublic void setLiquibaseCatalogName(String catalogName)
setLiquibaseCatalogName in interface Databasepublic String getLiquibaseSchemaName()
getLiquibaseSchemaName in interface Databasepublic void setLiquibaseSchemaName(String schemaName)
setLiquibaseSchemaName in interface Database
public void checkDatabaseChangeLogLockTable()
throws DatabaseException
checkDatabaseChangeLogLockTable in interface DatabaseDatabaseExceptionpublic boolean isCaseSensitive()
isCaseSensitive in interface Databasepublic boolean isReservedWord(String string)
isReservedWord in interface Databaseprotected boolean startsWithNumeric(String objectName)
public void dropDatabaseObjects(CatalogAndSchema schemaToDrop)
throws LiquibaseException
dropDatabaseObjects in interface DatabaseLiquibaseExceptionpublic boolean supportsDropTableCascadeConstraints()
supportsDropTableCascadeConstraints in interface Databasepublic boolean isSystemObject(DatabaseObject example)
isSystemObject in interface Database
public boolean isSystemView(CatalogAndSchema schema,
String viewName)
public boolean isLiquibaseObject(DatabaseObject object)
isLiquibaseObject in interface Database
public void tag(String tagString)
throws DatabaseException
tag in interface DatabaseDatabaseException
public boolean doesTagExist(String tag)
throws DatabaseException
doesTagExist in interface DatabaseDatabaseExceptionpublic String toString()
toString in class Object
public String getViewDefinition(CatalogAndSchema schema,
String viewName)
throws DatabaseException
getViewDefinition in interface DatabaseDatabaseException
public String escapeTableName(String catalogName,
String schemaName,
String tableName)
escapeTableName in interface Database
public String escapeObjectName(String catalogName,
String schemaName,
String objectName,
Class<? extends DatabaseObject> objectType)
escapeObjectName in interface Database
public String escapeObjectName(String objectName,
Class<? extends DatabaseObject> objectType)
escapeObjectName in interface Database
public String escapeIndexName(String catalogName,
String schemaName,
String indexName)
escapeIndexName in interface Database
public String escapeSequenceName(String catalogName,
String schemaName,
String sequenceName)
escapeSequenceName in interface Databasepublic String escapeConstraintName(String constraintName)
escapeConstraintName in interface Database
public String escapeColumnName(String catalogName,
String schemaName,
String tableName,
String columnName)
Database
escapeColumnName in interface DatabasecolumnName - column name
public String escapeColumnNameList(String columnNames)
Database
escapeColumnNameList in interface DatabasecolumnNames - list of column names
public boolean supportsSchemas()
supportsSchemas in interface Databasepublic boolean supportsCatalogs()
supportsCatalogs in interface Databasepublic boolean jdbcCallsCatalogsSchemas()
public boolean supportsCatalogInObjectName(Class<? extends DatabaseObject> type)
supportsCatalogInObjectName in interface Databasepublic String generatePrimaryKeyName(String tableName)
generatePrimaryKeyName in interface Database
public String escapeViewName(String catalogName,
String schemaName,
String viewName)
escapeViewName in interface Database
public ChangeSet.RunStatus getRunStatus(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
getRunStatus in interface DatabaseDatabaseException
DatabaseHistoryException
public RanChangeSet getRanChangeSet(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
getRanChangeSet in interface DatabaseDatabaseException
DatabaseHistoryException
public List<RanChangeSet> getRanChangeSetList()
throws DatabaseException
getRanChangeSetList in interface DatabaseDatabaseException
public Date getRanDate(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
getRanDate in interface DatabaseDatabaseException
DatabaseHistoryException
public void markChangeSetExecStatus(ChangeSet changeSet,
ChangeSet.ExecType execType)
throws DatabaseException
markChangeSetExecStatus in interface DatabaseDatabaseException
public void removeRanStatus(ChangeSet changeSet)
throws DatabaseException
removeRanStatus in interface DatabaseDatabaseExceptionpublic String escapeStringForDatabase(String string)
escapeStringForDatabase in interface Database
public void commit()
throws DatabaseException
commit in interface DatabaseDatabaseException
public void rollback()
throws DatabaseException
rollback in interface DatabaseDatabaseExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void close()
throws DatabaseException
close in interface DatabaseDatabaseExceptionpublic boolean supportsRestrictForeignKeys()
supportsRestrictForeignKeys in interface Database
public boolean isAutoCommit()
throws DatabaseException
isAutoCommit in interface DatabaseDatabaseException
public void setAutoCommit(boolean b)
throws DatabaseException
setAutoCommit in interface DatabaseDatabaseException
public boolean isSafeToRunUpdate()
throws DatabaseException
isSafeToRunUpdate in interface DatabaseDatabaseException
public void executeStatements(Change change,
DatabaseChangeLog changeLog,
List<SqlVisitor> sqlVisitors)
throws LiquibaseException
executeStatements in interface DatabaseLiquibaseException
public void execute(SqlStatement[] statements,
List<SqlVisitor> sqlVisitors)
throws LiquibaseException
execute in interface DatabaseLiquibaseException
public void saveStatements(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
throws IOException,
StatementNotSupportedOnDatabaseException,
LiquibaseException
saveStatements in interface DatabaseIOException
StatementNotSupportedOnDatabaseException
LiquibaseException
public void executeRollbackStatements(Change change,
List<SqlVisitor> sqlVisitors)
throws LiquibaseException,
RollbackImpossibleException
executeRollbackStatements in interface DatabaseLiquibaseException
RollbackImpossibleException
public void saveRollbackStatement(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
throws IOException,
RollbackImpossibleException,
StatementNotSupportedOnDatabaseException,
LiquibaseException
saveRollbackStatement in interface DatabaseIOException
RollbackImpossibleException
StatementNotSupportedOnDatabaseException
LiquibaseException
public int getNextChangeSetSequenceValue()
throws LiquibaseException
getNextChangeSetSequenceValue in interface DatabaseLiquibaseExceptionpublic List<DatabaseFunction> getDateFunctions()
Database
getDateFunctions in interface Databasepublic boolean isFunction(String string)
isFunction in interface Databasepublic void resetInternalState()
resetInternalState in interface Databasepublic boolean supportsForeignKeyDisable()
supportsForeignKeyDisable in interface Database
public boolean disableForeignKeyChecks()
throws DatabaseException
disableForeignKeyChecks in interface DatabaseDatabaseException
public void enableForeignKeyChecks()
throws DatabaseException
enableForeignKeyChecks in interface DatabaseDatabaseExceptionpublic boolean createsIndexesForForeignKeys()
createsIndexesForForeignKeys in interface Databasepublic int getDataTypeMaxParameters(String dataTypeName)
getDataTypeMaxParameters in interface Database
public CatalogAndSchema getSchemaFromJdbcInfo(String rawCatalogName,
String rawSchemaName)
public String getJdbcCatalogName(CatalogAndSchema schema)
public String getJdbcSchemaName(CatalogAndSchema schema)
public final String getJdbcCatalogName(Schema schema)
public final String getJdbcSchemaName(Schema schema)
public boolean dataTypeIsNotModifiable(String typeName)
Database
dataTypeIsNotModifiable in interface DatabasetypeName - type name
public void setObjectQuotingStrategy(ObjectQuotingStrategy quotingStrategy)
setObjectQuotingStrategy in interface Databasepublic ObjectQuotingStrategy getObjectQuotingStrategy()
getObjectQuotingStrategy in interface Databasepublic String generateDatabaseFunctionValue(DatabaseFunction databaseFunction)
Database
generateDatabaseFunctionValue in interface DatabasedatabaseFunction - database function to check.
public String getCurrentDateTimeFunction()
Database
getCurrentDateTimeFunction in interface Databasepublic void setOutputDefaultSchema(boolean outputDefaultSchema)
Database
setOutputDefaultSchema in interface Database
public boolean isDefaultSchema(String catalog,
String schema)
isDefaultSchema in interface Databasepublic boolean isDefaultCatalog(String catalog)
isDefaultCatalog in interface Databasepublic boolean getOutputDefaultSchema()
getOutputDefaultSchema in interface Databasepublic boolean getOutputDefaultCatalog()
getOutputDefaultCatalog in interface Databasepublic void setOutputDefaultCatalog(boolean outputDefaultCatalog)
setOutputDefaultCatalog in interface Databasepublic boolean supportsPrimaryKeyNames()
supportsPrimaryKeyNames in interface Database
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||