Class UnsupportedDatabase

java.lang.Object
liquibase.database.AbstractJdbcDatabase
liquibase.database.core.UnsupportedDatabase
All Implemented Interfaces:
AutoCloseable, Database, PrioritizedService

public class UnsupportedDatabase extends AbstractJdbcDatabase
  • Constructor Details

    • UnsupportedDatabase

      public UnsupportedDatabase()
  • Method Details

    • getPriority

      public int getPriority()
    • setConnection

      public void setConnection(DatabaseConnection conn)
      Specified by:
      setConnection in interface Database
      Overrides:
      setConnection in class AbstractJdbcDatabase
    • getDefaultCatalogName

      public String getDefaultCatalogName()
      Always returns null or DATABASECHANGELOG table may not be found.
      Specified by:
      getDefaultCatalogName in interface Database
      Overrides:
      getDefaultCatalogName in class AbstractJdbcDatabase
    • isCorrectDatabaseImplementation

      public boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException
      Description copied from interface: Database
      Is this AbstractDatabase subclass the correct one to use for the given connection.
      Throws:
      DatabaseException
    • getDefaultDriver

      public String getDefaultDriver(String url)
      Description copied from interface: Database
      If this database understands the given url, return the default driver class name. Otherwise return null.
    • getShortName

      public String getShortName()
      Description copied from interface: Database
      Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.
    • getDefaultPort

      public Integer getDefaultPort()
    • getDefaultDatabaseProductName

      protected String getDefaultDatabaseProductName()
      Specified by:
      getDefaultDatabaseProductName in class AbstractJdbcDatabase
    • supportsInitiallyDeferrableColumns

      public boolean supportsInitiallyDeferrableColumns()
      Description copied from interface: Database
      Returns whether this database support initially deferrable columns.
    • getCurrentDateTimeFunction

      public String getCurrentDateTimeFunction()
      Description copied from interface: Database
      Returns database-specific function for generating the current date/time.
      Specified by:
      getCurrentDateTimeFunction in interface Database
      Overrides:
      getCurrentDateTimeFunction in class AbstractJdbcDatabase
    • supportsTablespaces

      public boolean supportsTablespaces()
    • supports

      public boolean supports(Class<? extends DatabaseObject> object)
      Description copied from interface: Database
      Whether this database supports the specified object type. It is invoking the deprecated methods to ensure that extensions are not broken, but once those are removed it will return only true
      Parameters:
      object - the object type to check
      Returns:
      true if the database supports the object type, false otherwise
    • supportsSequences

      public boolean supportsSequences()
      Description copied from class: AbstractJdbcDatabase
      Does the database type support sequence.
      Specified by:
      supportsSequences in interface Database
      Overrides:
      supportsSequences in class AbstractJdbcDatabase