liquibase.database.core
Class DB2iDatabase

java.lang.Object
  extended by liquibase.database.AbstractDatabase
      extended by liquibase.database.core.DB2Database
          extended by liquibase.database.core.DB2iDatabase
All Implemented Interfaces:
Database, DatabaseObject, PrioritizedService

public class DB2iDatabase
extends DB2Database


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
DB2iDatabase()
           
 
Method Summary
 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.
 
Methods inherited from class liquibase.database.core.DB2Database
convertRequestedSchemaToCatalog, convertRequestedSchemaToSchema, escapeIndexName, generatePrimaryKeyName, getCurrentDateTimeFunction, getDateLiteral, getDefaultDatabaseSchemaName, getViewDefinition, parseDate, shouldQuoteValue, supportsInitiallyDeferrableColumns, supportsTablespaces
 
Methods inherited from class liquibase.database.AbstractDatabase
canCreateChangeLogTable, checkDatabaseChangeLogLockTable, checkDatabaseChangeLogTable, close, commit, disableForeignKeyChecks, doesTagExist, dropDatabaseObjects, enableForeignKeyChecks, equals, escapeColumnName, escapeColumnNameList, escapeConstraintName, escapeDatabaseObject, escapeSequenceName, escapeStringForDatabase, escapeTableName, escapeViewName, execute, executeRollbackStatements, executeStatements, generateAutoIncrementBy, generateAutoIncrementStartWith, getAutoCommitMode, getAutoIncrementByClause, getAutoIncrementClause, getAutoIncrementClause, getAutoIncrementClosing, getAutoIncrementOpening, getAutoIncrementStartWithClause, getConcatSql, getConnection, getContainingObjects, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDatabaseFunctions, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getDateLiteral, getDateLiteral, getDateTimeLiteral, getDefaultCatalogName, getDefaultSchemaName, getLineComment, getLiquibaseSchemaName, getNextChangeSetSequenceValue, getRanChangeSet, getRanChangeSetList, getRanDate, getRunStatus, getSystemTablesAndViews, getTable, getTimeLiteral, hasDatabaseChangeLogLockTable, hasDatabaseChangeLogTable, hashCode, isAutoCommit, isDateOnly, isDateTime, isLiquibaseTable, isLocalDatabase, isReservedWord, isSystemTable, isSystemView, isTimeOnly, markChangeSetExecStatus, removeRanStatus, requiresPassword, requiresUsername, reset, rollback, saveRollbackStatement, saveStatements, setAutoCommit, setCanCacheLiquibaseTableInfo, setConnection, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDefaultSchemaName, supportsAutoIncrement, supportsDDLInTransaction, supportsDropTableCascadeConstraints, supportsForeignKeyDisable, supportsRestrictForeignKeys, supportsSchemas, supportsSequences, tag, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DB2iDatabase

public DB2iDatabase()
Method Detail

getPriority

public int getPriority()
Specified by:
getPriority in interface PrioritizedService
Overrides:
getPriority in class DB2Database

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.

Specified by:
isCorrectDatabaseImplementation in interface Database
Overrides:
isCorrectDatabaseImplementation in class DB2Database
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.

Specified by:
getDefaultDriver in interface Database
Overrides:
getDefaultDriver in class DB2Database

getTypeName

public String getTypeName()
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.

Specified by:
getTypeName in interface Database
Overrides:
getTypeName in class DB2Database


Copyright © 2012 Liquibase.org. All Rights Reserved.