liquibase.snapshot.jvm
Class DerbyDatabaseSnapshotGenerator

java.lang.Object
  extended by liquibase.snapshot.jvm.JdbcDatabaseSnapshotGenerator
      extended by liquibase.snapshot.jvm.DerbyDatabaseSnapshotGenerator
All Implemented Interfaces:
DatabaseSnapshotGenerator

public class DerbyDatabaseSnapshotGenerator
extends JdbcDatabaseSnapshotGenerator


Field Summary
 
Fields inherited from interface liquibase.snapshot.DatabaseSnapshotGenerator
PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
DerbyDatabaseSnapshotGenerator()
           
 
Method Summary
protected  String convertColumnNameToDatabaseTableName(String columnName)
           
protected  String convertTableNameToDatabaseTableName(String tableName)
           
 int getPriority(Database database)
           
 boolean hasIndex(String schemaName, String tableName, String indexName, Database database, String columnNames)
          Derby seems to have troubles
 boolean supports(Database database)
           
 
Methods inherited from class liquibase.snapshot.jvm.JdbcDatabaseSnapshotGenerator
configureColumnType, convertFromDatabaseName, convertPrimaryKeyName, convertToForeignKeyConstraintType, createSnapshot, fillForeignKeyInfo, generateForeignKey, getAdditionalForeignKeys, getColumn, getColumnTypeAndDefValue, getDatabaseChangeLogLockTable, getDatabaseChangeLogTable, getDatabaseType, getForeignKeyByForeignKeyTable, getForeignKeys, getMetaData, getTable, hasDatabaseChangeLogLockTable, hasDatabaseChangeLogTable, hasTable, hasView, isColumnAutoIncrement, readColumns, readForeignKeyInformation, readIndexes, readPrimaryKeys, readSequences, readTables, readUniqueConstraints, readViews, updateListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbyDatabaseSnapshotGenerator

public DerbyDatabaseSnapshotGenerator()
Method Detail

supports

public boolean supports(Database database)

getPriority

public int getPriority(Database database)

convertTableNameToDatabaseTableName

protected String convertTableNameToDatabaseTableName(String tableName)
Overrides:
convertTableNameToDatabaseTableName in class JdbcDatabaseSnapshotGenerator

convertColumnNameToDatabaseTableName

protected String convertColumnNameToDatabaseTableName(String columnName)
Overrides:
convertColumnNameToDatabaseTableName in class JdbcDatabaseSnapshotGenerator

hasIndex

public boolean hasIndex(String schemaName,
                        String tableName,
                        String indexName,
                        Database database,
                        String columnNames)
                 throws DatabaseException
Derby seems to have troubles

Specified by:
hasIndex in interface DatabaseSnapshotGenerator
Overrides:
hasIndex in class JdbcDatabaseSnapshotGenerator
Throws:
DatabaseException


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.