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 class liquibase.database.jvm.JdbcConnection
FILTER_CREDS, FILTER_CREDS_MYSQL_TO_OBFUSCATE, FILTER_CREDS_ORACLE_TO_OBFUSCATE, FILTER_CREDS_PASSWORD, FILTER_CREDS_PRIVATE_KEY_FILE, FILTER_CREDS_PRIVATE_KEY_FILE_PWD, FILTER_CREDS_PRIVATE_KEY_TO_BLANK, FILTER_CREDS_USER
-
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 voidcommit()voidrollback()voidrollback(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:
commitin interfaceDatabaseConnection- Overrides:
commitin classJdbcConnection- Throws:
DatabaseException
-
rollback
public void rollback() throws DatabaseException- Specified by:
rollbackin interfaceDatabaseConnection- Overrides:
rollbackin classJdbcConnection- Throws:
DatabaseException
-
rollback
public void rollback(Savepoint savepoint) throws DatabaseException
- Overrides:
rollbackin classJdbcConnection- Throws:
DatabaseException
-
-