liquibase.database
Interface DatabaseConnection
- All Known Implementing Classes:
- DerbyConnection, HsqlConnection, JdbcConnection, OfflineConnection, SybaseConnection
public interface DatabaseConnection
A liquibase abstraction over the normal Connection that is available in
java.sql. This interface allows wrappers and aspects over the basic
connection.
close
void close()
throws DatabaseException
- Throws:
DatabaseException
commit
void commit()
throws DatabaseException
- Throws:
DatabaseException
getAutoCommit
boolean getAutoCommit()
throws DatabaseException
- Throws:
DatabaseException
getCatalog
String getCatalog()
throws DatabaseException
- Throws:
DatabaseException
nativeSQL
String nativeSQL(String sql)
throws DatabaseException
- Throws:
DatabaseException
rollback
void rollback()
throws DatabaseException
- Throws:
DatabaseException
setAutoCommit
void setAutoCommit(boolean autoCommit)
throws DatabaseException
- Throws:
DatabaseException
getDatabaseProductName
String getDatabaseProductName()
throws DatabaseException
- Throws:
DatabaseException
getDatabaseProductVersion
String getDatabaseProductVersion()
throws DatabaseException
- Throws:
DatabaseException
getDatabaseMajorVersion
int getDatabaseMajorVersion()
throws DatabaseException
- Throws:
DatabaseException
getDatabaseMinorVersion
int getDatabaseMinorVersion()
throws DatabaseException
- Throws:
DatabaseException
getURL
String getURL()
getConnectionUserName
String getConnectionUserName()
isClosed
boolean isClosed()
throws DatabaseException
- Throws:
DatabaseException
attached
void attached(Database database)
Copyright © 2016 Liquibase.org. All rights reserved.