|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectliquibase.database.AbstractDatabase
liquibase.database.core.DerbyDatabase
public class DerbyDatabase
| Field Summary | |
|---|---|
protected int |
driverVersionMajor
|
protected int |
driverVersionMinor
|
| Fields inherited from class liquibase.database.AbstractDatabase |
|---|
currentDateTimeFunction, databaseFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith |
| Fields inherited from interface liquibase.servicelocator.PrioritizedService |
|---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
| Constructor Summary | |
|---|---|
DerbyDatabase()
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected void |
determineDriverVersion()
Determine Apache Derby driver major/minor version. |
String |
getCurrentDateTimeFunction()
Returns database-specific function for generating the current date/time. |
String |
getDateLiteral(String isoDate)
Return a 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. |
String |
getViewDefinition(String schemaName,
String name)
|
boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn)
Is this AbstractDatabase subclass the correct one to use for the given connection. |
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 |
| Field Detail |
|---|
protected int driverVersionMajor
protected int driverVersionMinor
| Constructor Detail |
|---|
public DerbyDatabase()
| Method Detail |
|---|
public boolean isCorrectDatabaseImplementation(DatabaseConnection conn)
throws DatabaseException
Database
DatabaseExceptionpublic String getDefaultDriver(String url)
Database
public int getPriority()
public String getTypeName()
Database
protected String getDefaultDatabaseSchemaName()
throws DatabaseException
getDefaultDatabaseSchemaName in class AbstractDatabaseDatabaseExceptionpublic boolean supportsSequences()
AbstractDatabase
supportsSequences in interface DatabasesupportsSequences in class AbstractDatabasepublic boolean supportsInitiallyDeferrableColumns()
Database
public String getCurrentDateTimeFunction()
Database
public String getDateLiteral(String isoDate)
AbstractDatabase
getDateLiteral in interface DatabasegetDateLiteral in class AbstractDatabasepublic boolean supportsTablespaces()
public String getViewDefinition(String schemaName,
String name)
throws DatabaseException
getViewDefinition in interface DatabasegetViewDefinition in class AbstractDatabaseDatabaseException
public void close()
throws DatabaseException
close in interface Databaseclose in class AbstractDatabaseDatabaseExceptionprotected void determineDriverVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||