Package liquibase.database.jvm
Class HsqlConnection
- java.lang.Object
-
- liquibase.database.jvm.JdbcConnection
-
- liquibase.database.jvm.HsqlConnection
-
- All Implemented Interfaces:
AutoCloseable
,DatabaseConnection
,PrioritizedService
public class HsqlConnection extends JdbcConnection
-
-
Field Summary
-
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description HsqlConnection()
HsqlConnection(Connection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
void
rollback()
-
Methods inherited from class liquibase.database.jvm.JdbcConnection
attached, clearWarnings, close, createStatement, createStatement, createStatement, equals, getAutoCommit, getCatalog, getConnectionUrl, getConnectionUserName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getHoldability, getMetaData, getPriority, getTransactionIsolation, getTypeMap, getUnderlyingConnection, getURL, getWarnings, getWrappedConnection, hashCode, isClosed, isReadOnly, nativeSQL, open, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, sanitizeUrl, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, supportsBatchUpdates
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface liquibase.database.DatabaseConnection
supports
-
-
-
-
Constructor Detail
-
HsqlConnection
public HsqlConnection()
-
HsqlConnection
public HsqlConnection(Connection connection)
-
-
Method Detail
-
commit
public void commit() throws DatabaseException
- Specified by:
commit
in interfaceDatabaseConnection
- Overrides:
commit
in classJdbcConnection
- Throws:
DatabaseException
-
rollback
public void rollback() throws DatabaseException
- Specified by:
rollback
in interfaceDatabaseConnection
- Overrides:
rollback
in classJdbcConnection
- Throws:
DatabaseException
-
-