liquibase.database
Class OfflineConnection
java.lang.Object
liquibase.database.OfflineConnection
- All Implemented Interfaces:
- DatabaseConnection
public class OfflineConnection
- extends Object
- implements DatabaseConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfflineConnection
public OfflineConnection(String url)
isCorrectDatabaseImplementation
public boolean isCorrectDatabaseImplementation(Database database)
attached
public void attached(Database database)
- Specified by:
attached in interface DatabaseConnection
createChangeLogHistoryService
protected ChangeLogHistoryService createChangeLogHistoryService(Database database)
close
public void close()
throws DatabaseException
- Specified by:
close in interface DatabaseConnection
- Throws:
DatabaseException
commit
public void commit()
throws DatabaseException
- Specified by:
commit in interface DatabaseConnection
- Throws:
DatabaseException
getAutoCommit
public boolean getAutoCommit()
throws DatabaseException
- Specified by:
getAutoCommit in interface DatabaseConnection
- Throws:
DatabaseException
getCatalog
public String getCatalog()
throws DatabaseException
- Specified by:
getCatalog in interface DatabaseConnection
- Throws:
DatabaseException
nativeSQL
public String nativeSQL(String sql)
throws DatabaseException
- Specified by:
nativeSQL in interface DatabaseConnection
- Throws:
DatabaseException
rollback
public void rollback()
throws DatabaseException
- Specified by:
rollback in interface DatabaseConnection
- Throws:
DatabaseException
setAutoCommit
public void setAutoCommit(boolean autoCommit)
throws DatabaseException
- Specified by:
setAutoCommit in interface DatabaseConnection
- Throws:
DatabaseException
getDatabaseProductName
public String getDatabaseProductName()
throws DatabaseException
- Specified by:
getDatabaseProductName in interface DatabaseConnection
- Throws:
DatabaseException
getDatabaseProductVersion
public String getDatabaseProductVersion()
throws DatabaseException
- Specified by:
getDatabaseProductVersion in interface DatabaseConnection
- Throws:
DatabaseException
getDatabaseMajorVersion
public int getDatabaseMajorVersion()
throws DatabaseException
- Specified by:
getDatabaseMajorVersion in interface DatabaseConnection
- Throws:
DatabaseException
getDatabaseMinorVersion
public int getDatabaseMinorVersion()
throws DatabaseException
- Specified by:
getDatabaseMinorVersion in interface DatabaseConnection
- Throws:
DatabaseException
getURL
public String getURL()
- Specified by:
getURL in interface DatabaseConnection
getConnectionUserName
public String getConnectionUserName()
- Specified by:
getConnectionUserName in interface DatabaseConnection
isClosed
public boolean isClosed()
throws DatabaseException
- Specified by:
isClosed in interface DatabaseConnection
- Throws:
DatabaseException
getOutputLiquibaseSql
public boolean getOutputLiquibaseSql()
setOutputLiquibaseSql
public void setOutputLiquibaseSql(Boolean outputLiquibaseSql)
Copyright © 2015 Liquibase.org. All rights reserved.