liquibase.database.jvm.SybaseConnection Maven / Gradle / Ivy
package liquibase.database.jvm;
import liquibase.exception.DatabaseException;
import java.sql.Connection;
import java.sql.Savepoint;
/**
* A Sybase specific Delegate that removes the calls to commit
* and rollback as Sybase requires that autocommit be set to true.
*
*/
public class SybaseConnection extends JdbcConnection {
public SybaseConnection(Connection delegate) {
super(delegate);
}
@Override
public void commit() throws DatabaseException {
}
@Override
public void rollback() throws DatabaseException {
}
@Override
public void rollback(Savepoint savepoint) throws DatabaseException {
}
}