liquibase.database.jvm
Class SybaseConnection

java.lang.Object
  extended by liquibase.database.jvm.JdbcConnection
      extended by liquibase.database.jvm.SybaseConnection
All Implemented Interfaces:
DatabaseConnection

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.

Author:
Paul Keeble

Constructor Summary
SybaseConnection(Connection delegate)
           
 
Method Summary
 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, getConnectionUserName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getUnderlyingConnection, getURL, getWarnings, getWrappedConnection, hashCode, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SybaseConnection

public SybaseConnection(Connection delegate)
Method Detail

commit

public void commit()
            throws DatabaseException
Specified by:
commit in interface DatabaseConnection
Overrides:
commit in class JdbcConnection
Throws:
DatabaseException

rollback

public void rollback()
              throws DatabaseException
Specified by:
rollback in interface DatabaseConnection
Overrides:
rollback in class JdbcConnection
Throws:
DatabaseException

rollback

public void rollback(Savepoint savepoint)
              throws DatabaseException
Overrides:
rollback in class JdbcConnection
Throws:
DatabaseException


Copyright © 2016 Liquibase.org. All rights reserved.