|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectliquibase.database.AbstractDatabase
liquibase.database.core.SybaseASADatabase
public class SybaseASADatabase
| Field Summary |
|---|
| Fields inherited from class liquibase.database.AbstractDatabase |
|---|
currentDateTimeFunction, databaseFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith |
| Fields inherited from interface liquibase.servicelocator.PrioritizedService |
|---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
| Constructor Summary | |
|---|---|
SybaseASADatabase()
|
|
| Method Summary | |
|---|---|
String |
convertRequestedSchemaToCatalog(String requestedSchema)
|
String |
convertRequestedSchemaToSchema(String requestedSchema)
|
String |
escapeDatabaseObject(String objectName)
|
protected boolean |
generateAutoIncrementBy(BigInteger incrementBy)
|
protected boolean |
generateAutoIncrementStartWith(BigInteger startWith)
|
protected String |
getAutoIncrementClause()
|
String |
getCurrentDateTimeFunction()
Returns database-specific function for generating the current date/time. |
String |
getDefaultCatalogName()
|
protected String |
getDefaultDatabaseSchemaName()
|
String |
getDefaultDriver(String url)
If this database understands the given url, return the default driver class name. |
String |
getDefaultSchemaName()
|
int |
getPriority()
|
Set<String> |
getSystemTablesAndViews()
Returns system (undroppable) tables and views. |
String |
getTypeName()
Returns an all-lower-case short name of the product. |
String |
getViewDefinition(String schemaName,
String viewName)
|
boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn)
Is this AbstractDatabase subclass the correct one to use for the given connection. |
void |
setAutoCommit(boolean b)
|
boolean |
supportsInitiallyDeferrableColumns()
Returns whether this database support initially deferrable columns. |
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 |
| Constructor Detail |
|---|
public SybaseASADatabase()
| Method Detail |
|---|
public int getPriority()
public String getCurrentDateTimeFunction()
Database
public String getDefaultDriver(String url)
Database
public String getTypeName()
Database
public boolean isCorrectDatabaseImplementation(DatabaseConnection conn)
throws DatabaseException
Database
DatabaseException
public String getDefaultCatalogName()
throws DatabaseException
getDefaultCatalogName in interface DatabasegetDefaultCatalogName in class AbstractDatabaseDatabaseException
protected String getDefaultDatabaseSchemaName()
throws DatabaseException
getDefaultDatabaseSchemaName in class AbstractDatabaseDatabaseException
public String convertRequestedSchemaToSchema(String requestedSchema)
throws DatabaseException
convertRequestedSchemaToSchema in interface DatabaseconvertRequestedSchemaToSchema in class AbstractDatabaseDatabaseExceptionpublic String getDefaultSchemaName()
getDefaultSchemaName in interface DatabasegetDefaultSchemaName in class AbstractDatabase
public String getViewDefinition(String schemaName,
String viewName)
throws DatabaseException
getViewDefinition in interface DatabasegetViewDefinition in class AbstractDatabaseDatabaseExceptionpublic boolean supportsInitiallyDeferrableColumns()
Database
public boolean supportsTablespaces()
public String convertRequestedSchemaToCatalog(String requestedSchema)
throws DatabaseException
convertRequestedSchemaToCatalog in interface DatabaseconvertRequestedSchemaToCatalog in class AbstractDatabaseDatabaseExceptionpublic Set<String> getSystemTablesAndViews()
AbstractDatabase
getSystemTablesAndViews in class AbstractDatabasepublic boolean supportsSequences()
AbstractDatabase
supportsSequences in interface DatabasesupportsSequences in class AbstractDatabaseprotected String getAutoIncrementClause()
getAutoIncrementClause in class AbstractDatabaseprotected boolean generateAutoIncrementStartWith(BigInteger startWith)
generateAutoIncrementStartWith in class AbstractDatabaseprotected boolean generateAutoIncrementBy(BigInteger incrementBy)
generateAutoIncrementBy in class AbstractDatabase
public void setAutoCommit(boolean b)
throws DatabaseException
setAutoCommit in interface DatabasesetAutoCommit in class AbstractDatabaseDatabaseExceptionpublic String escapeDatabaseObject(String objectName)
escapeDatabaseObject in interface DatabaseescapeDatabaseObject in class AbstractDatabase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||