Package liquibase.database.jvm
Class DerbyConnection
- java.lang.Object
-
- liquibase.database.jvm.JdbcConnection
-
- liquibase.database.jvm.DerbyConnection
-
- All Implemented Interfaces:
AutoCloseable
,DatabaseConnection
,PrioritizedService
public class DerbyConnection extends JdbcConnection
-
-
Field Summary
-
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description DerbyConnection()
DerbyConnection(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
-
DerbyConnection
public DerbyConnection()
-
DerbyConnection
public DerbyConnection(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
-
-