| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides liquibase. Implements liquibase. Closes this resource, relinquishing any underlying resources. |
| public String | correctObjectName(String objectName, Class<? extends DatabaseObject> objectType)
Overrides liquibase. Implements liquibase. Fix the object name to the format the database expects, handling changes in case, etc. |
| protected void | |
| protected String | |
| public String | getDateLiteral(String isoDate)
Overrides liquibase. Implements liquibase. Return a date literal with the same value as a string formatted using ISO 8601. |
| protected String | |
| public String | getDefaultDriver(String url)
Implements liquibase. If this database understands the given url, return the default driver class name. |
| public Integer | |
| public int | getMaxFractionalDigitsForTimestamp()
Overrides liquibase. Implements liquibase. Most relational databases support 9 fractional digits, and subclasses must overwrite this method if they support less than that. |
| public int | |
| public String | getShortName()
Implements liquibase. Returns an all-lower-case short name of the product. |
| public boolean | |
| public String | getViewDefinition(CatalogAndSchema schema, String name)
Overrides liquibase. Implements liquibase.
|
| public boolean | isCorrectDatabaseImplementation(DatabaseConnection conn)
Implements liquibase. Is this AbstractDatabase subclass the correct one to use for the given connection. |
| public boolean | |
| public void | |
| protected void | |
| public boolean | |
| public boolean | supportsCatalogInObjectName(Class<? extends DatabaseObject> type)
Overrides liquibase. Implements liquibase.
|
| public boolean | supportsInitiallyDeferrableColumns()
Implements liquibase. Returns whether this database support initially deferrable columns. |
| public boolean | |
| public boolean | supportsSequences()
Overrides liquibase. Implements liquibase. Does the database type support sequence. |
| public boolean |
| driverVersionMajor | back to summary |
|---|---|
| protected int driverVersionMajor | |
| driverVersionMinor | back to summary |
|---|---|
| protected int driverVersionMinor | |
| shutdownEmbeddedDerby | back to summary |
|---|---|
| private boolean shutdownEmbeddedDerby | |
| DerbyDatabase | back to summary |
|---|---|
| public DerbyDatabase() | |
| close | back to summary |
|---|---|
| public void close() throws DatabaseException Overrides liquibase. Implements liquibase. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| correctObjectName | back to summary |
|---|---|
| public String correctObjectName(String objectName, Class<? extends DatabaseObject> objectType) Overrides liquibase. Implements liquibase. Doc from liquibase. Fix the object name to the format the database expects, handling changes in case, etc.
| |
| determineDriverVersion | back to summary |
|---|---|
| protected void determineDriverVersion() Determine Apache Derby driver major/minor version. | |
| getConnectionCatalogName | back to summary |
|---|---|
| protected String getConnectionCatalogName() throws DatabaseException Overrides liquibase.
| |
| getDateLiteral | back to summary |
|---|---|
| public String getDateLiteral(String isoDate) Overrides liquibase. Implements liquibase. Doc from liquibase. Return a date literal with the same value as a string formatted using ISO 8601. Note many databases accept date literals in ISO8601 format with the 'T' replaced with a space. Only databases which do not accept these strings should need to override this method. Implementation restriction: Currently, only the following subsets of ISO8601 are supported: yyyy-MM-dd hh:mm:ss yyyy-MM-ddThh:mm:ss
| |
| getDefaultDatabaseProductName | back to summary |
|---|---|
| protected String getDefaultDatabaseProductName() Implements abstract liquibase.
| |
| getDefaultDriver | back to summary |
|---|---|
| public String getDefaultDriver(String url) Implements liquibase. Doc from liquibase. If this database understands the given url, return the default driver class name. Otherwise return null.
| |
| getDefaultPort | back to summary |
|---|---|
| public Integer getDefaultPort() Implements liquibase.
| |
| getMaxFractionalDigitsForTimestamp | back to summary |
|---|---|
| public int getMaxFractionalDigitsForTimestamp() Overrides liquibase. Implements liquibase. Doc from liquibase. Most relational databases support 9 fractional digits, and subclasses must overwrite this method if they support less than that.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements liquibase.
| |
| getShortName | back to summary |
|---|---|
| public String getShortName() Implements liquibase. Doc from liquibase. Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.
| |
| getShutdownEmbeddedDerby | back to summary |
|---|---|
| public boolean getShutdownEmbeddedDerby() | |
| getViewDefinition | back to summary |
|---|---|
| public String getViewDefinition(CatalogAndSchema schema, String name) throws DatabaseException Overrides liquibase. Implements liquibase.
| |
| isCorrectDatabaseImplementation | back to summary |
|---|---|
| public boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException Implements liquibase. Doc from liquibase. Is this AbstractDatabase subclass the correct one to use for the given connection.
| |
| jdbcCallsCatalogsSchemas | back to summary |
|---|---|
| public boolean jdbcCallsCatalogsSchemas() Overrides liquibase.
| |
| setShutdownEmbeddedDerby | back to summary |
|---|---|
| public void setShutdownEmbeddedDerby(boolean shutdown) | |
| shutdownDerby | back to summary |
|---|---|
| protected void shutdownDerby(String url, String driverName) throws DatabaseException | |
| supportsBooleanDataType | back to summary |
|---|---|
| public boolean supportsBooleanDataType() | |
| supportsCatalogInObjectName | back to summary |
|---|---|
| public boolean supportsCatalogInObjectName(Class<? extends DatabaseObject> type) Overrides liquibase. Implements liquibase.
| |
| supportsInitiallyDeferrableColumns | back to summary |
|---|---|
| public boolean supportsInitiallyDeferrableColumns() Implements liquibase. Doc from liquibase. Returns whether this database support initially deferrable columns.
| |
| supportsSchemas | back to summary |
|---|---|
| public boolean supportsSchemas() Overrides liquibase. Implements liquibase.
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides liquibase. Implements liquibase. Doc from liquibase. Does the database type support sequence.
| |
| supportsTablespaces | back to summary |
|---|---|
| public boolean supportsTablespaces() Implements liquibase.
| |