liquibase.database
Interface DatabaseConnection
- All Known Implementing Classes:
- DerbyConnection, HsqlConnection, JdbcConnection, 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
java.lang.String getCatalog()
throws DatabaseException
- Throws:
DatabaseException
nativeSQL
java.lang.String nativeSQL(java.lang.String sql)
throws DatabaseException
- Throws:
DatabaseException
rollback
void rollback()
throws DatabaseException
- Throws:
DatabaseException
setAutoCommit
void setAutoCommit(boolean autoCommit)
throws DatabaseException
- Throws:
DatabaseException
getDatabaseProductName
java.lang.String getDatabaseProductName()
throws DatabaseException
- Throws:
DatabaseException
getDatabaseProductVersion
java.lang.String getDatabaseProductVersion()
throws DatabaseException
- Throws:
DatabaseException
getDatabaseMajorVersion
int getDatabaseMajorVersion()
throws DatabaseException
- Throws:
DatabaseException
getDatabaseMinorVersion
int getDatabaseMinorVersion()
throws DatabaseException
- Throws:
DatabaseException
getURL
java.lang.String getURL()
getConnectionUserName
java.lang.String getConnectionUserName()
isClosed
boolean isClosed()
throws DatabaseException
- Throws:
DatabaseException
Copyright © 2010 Liquibase.org. All Rights Reserved.