public class OfflineConnection extends Object implements DatabaseConnection
| Constructor and Description |
|---|
OfflineConnection(String url,
ResourceAccessor resourceAccessor) |
public OfflineConnection(String url, ResourceAccessor resourceAccessor)
public boolean isCorrectDatabaseImplementation(Database database)
public void attached(Database database)
attached in interface DatabaseConnectionprotected ChangeLogHistoryService createChangeLogHistoryService(Database database)
public DatabaseSnapshot getSnapshot(DatabaseObject[] examples)
public void close()
throws DatabaseException
close in interface DatabaseConnectionDatabaseExceptionpublic void commit()
throws DatabaseException
commit in interface DatabaseConnectionDatabaseExceptionpublic boolean getAutoCommit()
throws DatabaseException
getAutoCommit in interface DatabaseConnectionDatabaseExceptionpublic String getCatalog() throws DatabaseException
getCatalog in interface DatabaseConnectionDatabaseExceptionpublic String getSchema()
public String nativeSQL(String sql) throws DatabaseException
nativeSQL in interface DatabaseConnectionDatabaseExceptionpublic void rollback()
throws DatabaseException
rollback in interface DatabaseConnectionDatabaseExceptionpublic void setAutoCommit(boolean autoCommit)
throws DatabaseException
setAutoCommit in interface DatabaseConnectionDatabaseExceptionpublic String getDatabaseProductName() throws DatabaseException
getDatabaseProductName in interface DatabaseConnectionDatabaseExceptionpublic String getDatabaseProductVersion() throws DatabaseException
getDatabaseProductVersion in interface DatabaseConnectionDatabaseExceptionpublic int getDatabaseMajorVersion()
throws DatabaseException
getDatabaseMajorVersion in interface DatabaseConnectionDatabaseExceptionpublic void setDatabaseMajorVersion(int databaseMajorVersion)
public void setDatabaseMinorVersion(int databaseMinorVersion)
public void setProductVersion(String productVersion)
public void setProductName(String productName)
public int getDatabaseMinorVersion()
throws DatabaseException
getDatabaseMinorVersion in interface DatabaseConnectionDatabaseExceptionpublic String getURL()
getURL in interface DatabaseConnectionpublic String getConnectionUserName()
getConnectionUserName in interface DatabaseConnectionpublic void setConnectionUserName(String connectionUserName)
public boolean isClosed()
throws DatabaseException
isClosed in interface DatabaseConnectionDatabaseExceptionpublic boolean getSendsStringParametersAsUnicode()
public void setSendsStringParametersAsUnicode(boolean sendsStringParametersAsUnicode)
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
Copyright © 2018 Liquibase.org. All rights reserved.