Package liquibase.database.jvm
Class SybaseConnection
- java.lang.Object
-
- liquibase.database.jvm.JdbcConnection
-
- liquibase.database.jvm.SybaseConnection
-
- All Implemented Interfaces:
AutoCloseable
,DatabaseConnection
,PrioritizedService
public class SybaseConnection extends JdbcConnection
A Sybase specific Delegate that removes the calls to commit and rollback as Sybase requires that autocommit be set to true.
-
-
Field Summary
-
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description SybaseConnection()
SybaseConnection(Connection delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
void
rollback()
void
rollback(Savepoint savepoint)
-
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, 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
-
SybaseConnection
public SybaseConnection()
-
SybaseConnection
public SybaseConnection(Connection delegate)
-
-
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
-
rollback
public void rollback(Savepoint savepoint) throws DatabaseException
- Overrides:
rollback
in classJdbcConnection
- Throws:
DatabaseException
-
-