liquibase.database
Class DatabaseFactory
java.lang.Object
liquibase.database.DatabaseFactory
public class DatabaseFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseFactory
protected DatabaseFactory()
getInstance
public static DatabaseFactory getInstance()
reset
public static void reset()
getImplementedDatabases
public List<Database> getImplementedDatabases()
- Returns instances of all implemented database types.
register
public void register(Database database)
findCorrectDatabaseImplementation
public Database findCorrectDatabaseImplementation(DatabaseConnection connection)
throws DatabaseException
- Throws:
DatabaseException
findDefaultDriver
public String findDefaultDriver(String url)
clearRegistry
public void clearRegistry()
- Removes all registered databases, even built in ones. Useful for forcing a particular database implementation
Copyright © 2012 Liquibase.org. All Rights Reserved.