|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectliquibase.database.AbstractDatabase
liquibase.database.core.OracleDatabase
public class OracleDatabase
Encapsulates Oracle database support.
Field Summary | |
---|---|
static String |
PRODUCT_NAME
|
Fields inherited from class liquibase.database.AbstractDatabase |
---|
currentDateTimeFunction, databaseFunctions |
Fields inherited from interface liquibase.servicelocator.PrioritizedService |
---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
Constructor Summary | |
---|---|
OracleDatabase()
|
Method Summary | |
---|---|
String |
escapeDatabaseObject(String objectName)
|
String |
escapeIndexName(String schemaName,
String indexName)
|
String |
getCurrentDateTimeFunction()
Returns database-specific function for generating the current date/time. |
String |
getDateLiteral(String isoDate)
Return an Oracle date literal with the same value as a string formatted using ISO 8601. |
protected String |
getDefaultDatabaseSchemaName()
|
String |
getDefaultDriver(String url)
If this database understands the given url, return the default driver class name. |
int |
getPriority()
|
String |
getTypeName()
Returns an all-lower-case short name of the product. |
boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn)
Is this AbstractDatabase subclass the correct one to use for the given connection. |
boolean |
isReservedWord(String objectName)
|
boolean |
isSystemTable(String catalogName,
String schemaName,
String tableName)
|
void |
setConnection(DatabaseConnection conn)
|
boolean |
shouldQuoteValue(String value)
|
boolean |
supportsAutoIncrement()
|
boolean |
supportsInitiallyDeferrableColumns()
Returns whether this database support initially deferrable columns. |
boolean |
supportsRestrictForeignKeys()
|
boolean |
supportsSequences()
Does the database type support sequence. |
boolean |
supportsTablespaces()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PRODUCT_NAME
Constructor Detail |
---|
public OracleDatabase()
Method Detail |
---|
public int getPriority()
public void setConnection(DatabaseConnection conn)
setConnection
in interface Database
setConnection
in class AbstractDatabase
public String getTypeName()
Database
public boolean supportsInitiallyDeferrableColumns()
Database
public String escapeDatabaseObject(String objectName)
escapeDatabaseObject
in interface Database
escapeDatabaseObject
in class AbstractDatabase
public boolean isReservedWord(String objectName)
isReservedWord
in interface Database
isReservedWord
in class AbstractDatabase
public boolean supportsSequences()
AbstractDatabase
supportsSequences
in interface Database
supportsSequences
in class AbstractDatabase
public boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException
Database
DatabaseException
public String getDefaultDriver(String url)
Database
public String getCurrentDateTimeFunction()
Database
protected String getDefaultDatabaseSchemaName() throws DatabaseException
getDefaultDatabaseSchemaName
in class AbstractDatabase
DatabaseException
public String escapeIndexName(String schemaName, String indexName)
escapeIndexName
in interface Database
escapeIndexName
in class AbstractDatabase
public String getDateLiteral(String isoDate)
getDateLiteral
in interface Database
getDateLiteral
in class AbstractDatabase
public boolean isSystemTable(String catalogName, String schemaName, String tableName)
isSystemTable
in interface Database
isSystemTable
in class AbstractDatabase
public boolean shouldQuoteValue(String value)
shouldQuoteValue
in interface Database
shouldQuoteValue
in class AbstractDatabase
public boolean supportsTablespaces()
public boolean supportsAutoIncrement()
supportsAutoIncrement
in interface Database
supportsAutoIncrement
in class AbstractDatabase
public boolean supportsRestrictForeignKeys()
supportsRestrictForeignKeys
in interface Database
supportsRestrictForeignKeys
in class AbstractDatabase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |